diff --git a/src/plugins/amqp/options.rs b/src/plugins/amqp/options.rs index f53d0ad..663d23c 100644 --- a/src/plugins/amqp/options.rs +++ b/src/plugins/amqp/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value_t = false)] /// Enable SSL for AMQP. diff --git a/src/plugins/dns/options.rs b/src/plugins/dns/options.rs index 76976b9..0c5386a 100644 --- a/src/plugins/dns/options.rs +++ b/src/plugins/dns/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long)] /// Comma separatd list of DNS resolvers to use instead of the system one. diff --git a/src/plugins/http/options.rs b/src/plugins/http/options.rs index a492c0a..7e73a74 100644 --- a/src/plugins/http/options.rs +++ b/src/plugins/http/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value = "200")] /// Comma separated status codes to consider as successful authentication attempts for HTTP based plugins. diff --git a/src/plugins/kerberos/options.rs b/src/plugins/kerberos/options.rs index 1d7f9cd..886a1d9 100644 --- a/src/plugins/kerberos/options.rs +++ b/src/plugins/kerberos/options.rs @@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize}; use super::Protocol; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long)] /// Kerberos realm. diff --git a/src/plugins/ldap/options.rs b/src/plugins/ldap/options.rs index 3e93198..b9704a8 100644 --- a/src/plugins/ldap/options.rs +++ b/src/plugins/ldap/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long)] /// LDAP domain. diff --git a/src/plugins/mqtt/options.rs b/src/plugins/mqtt/options.rs index 54ba302..4543ec1 100644 --- a/src/plugins/mqtt/options.rs +++ b/src/plugins/mqtt/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value_t = String::from("legba"))] /// MQTT client id. diff --git a/src/plugins/oracle/options.rs b/src/plugins/oracle/options.rs index 59e6dbe..0d49dc9 100644 --- a/src/plugins/oracle/options.rs +++ b/src/plugins/oracle/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value = "SYSTEM")] /// Database name. diff --git a/src/plugins/pop3/options.rs b/src/plugins/pop3/options.rs index 94039af..d223c8e 100644 --- a/src/plugins/pop3/options.rs +++ b/src/plugins/pop3/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value_t = false)] /// Enable SSL for POP3. diff --git a/src/plugins/rdp/options.rs b/src/plugins/rdp/options.rs index 926ce8e..68352f2 100644 --- a/src/plugins/rdp/options.rs +++ b/src/plugins/rdp/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value = "")] /// Domain name. diff --git a/src/plugins/redis/options.rs b/src/plugins/redis/options.rs index 8c0b04a..df5afaf 100644 --- a/src/plugins/redis/options.rs +++ b/src/plugins/redis/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value_t = false)] /// Enable SSL for Redis. diff --git a/src/plugins/smtp/options.rs b/src/plugins/smtp/options.rs index 4aac734..9d1614f 100644 --- a/src/plugins/smtp/options.rs +++ b/src/plugins/smtp/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { /// SMTP authentication mechanism, can be PLAIN (RFC4616), LOGIN (obsolete but needed for some providers like office365) or XOAUTH2. #[clap(long, default_value = "PLAIN")] diff --git a/src/plugins/ssh/options.rs b/src/plugins/ssh/options.rs index e29216f..14a6f45 100644 --- a/src/plugins/ssh/options.rs +++ b/src/plugins/ssh/options.rs @@ -9,6 +9,7 @@ pub(crate) enum Mode { } #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, value_enum, default_value_t = Mode::Password)] /// Authentication strategy. diff --git a/src/plugins/tcp_ports/options.rs b/src/plugins/tcp_ports/options.rs index 814d0c0..7e5826b 100644 --- a/src/plugins/tcp_ports/options.rs +++ b/src/plugins/tcp_ports/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value = "1-65535")] /// Range or comma separated values of integer port numbers to scan. diff --git a/src/plugins/telnet/options.rs b/src/plugins/telnet/options.rs index e2fcbec..e69a580 100644 --- a/src/plugins/telnet/options.rs +++ b/src/plugins/telnet/options.rs @@ -2,6 +2,7 @@ use clap::Parser; use serde::{Deserialize, Serialize}; #[derive(Parser, Debug, Serialize, Deserialize, Clone, Default)] +#[group(skip)] pub(crate) struct Options { #[clap(long, default_value = "login: ")] /// Telnet server username login prompt string.