aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/args.rs b/src/args.rs
index b6bb092..cea5658 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -135,22 +135,12 @@ pub struct CliArgs {
pub print_completions: Option<structopt::clap::Shell>,
/// TLS certificate to use
- #[cfg(any(
- target_arch = "x86",
- target_arch = "x86_64",
- target_arch = "aarch64",
- target_arch = "arm"
- ))]
+ #[cfg(feature = "tls")]
#[structopt(long = "tls-cert", requires = "tls-key")]
pub tls_cert: Option<PathBuf>,
/// TLS private key to use
- #[cfg(any(
- target_arch = "x86",
- target_arch = "x86_64",
- target_arch = "aarch64",
- target_arch = "arm"
- ))]
+ #[cfg(feature = "tls")]
#[structopt(long = "tls-key", requires = "tls-cert")]
pub tls_key: Option<PathBuf>,
}