feat: add image fetching
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! Program arguments
|
||||
|
||||
use std::{
|
||||
os::{linux::net::SocketAddrExt, unix::net::SocketAddr},
|
||||
path::PathBuf,
|
||||
@@ -10,9 +12,11 @@ use clap::Parser;
|
||||
#[command(version, about, long_about = None)]
|
||||
#[command(styles = get_clap_styles())]
|
||||
pub struct Args {
|
||||
/// Config file path to parse
|
||||
#[arg(short, default_value = "/etc/authy-oidc.toml")]
|
||||
pub conf: PathBuf,
|
||||
|
||||
/// Pamsock abstract name to connect to
|
||||
#[cfg(feature = "pamsock")]
|
||||
#[arg(long, default_value = "pam")]
|
||||
#[arg(value_parser = parse_as_abstract_name)]
|
||||
|
||||
Reference in New Issue
Block a user