Skip to content

Commit 8f4aa96

Browse files
committed
Remove confusing short versions of the command line arguments
1 parent b12418a commit 8f4aa96

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/config.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,48 +5,48 @@ use tracing::Level;
55
#[command(version, about, long_about = None)]
66
pub struct Configuration {
77
/// Host name or domain of the IMAP server with the DMARC reports inbox
8-
#[arg(short = 's', long, env)]
8+
#[arg(long, env)]
99
pub imap_host: String,
1010

1111
/// User name of the IMAP inbox with the DMARC reports
12-
#[arg(short = 'u', long, env)]
12+
#[arg(long, env)]
1313
pub imap_user: String,
1414

1515
/// Password of the IMAP inbox with the DMARC reports
16-
#[arg(short = 'p', long, env)]
16+
#[arg(long, env)]
1717
pub imap_password: String,
1818

1919
/// TLS encrypted port of the IMAP server
20-
#[arg(short = 't', long, env, default_value = "993")]
20+
#[arg(long, env, default_value = "993")]
2121
pub imap_port: u16,
2222

2323
/// TCP connection timeout for IMAP server in seconds
24-
#[arg(short = 'o', long, env, default_value = "10")]
24+
#[arg(long, env, default_value = "10")]
2525
pub imap_timeout: u64,
2626

2727
/// Interval between checking for new reports in IMAP inbox in seconds
28-
#[arg(short = 'i', long, env, default_value = "1000")]
28+
#[arg(long, env, default_value = "1000")]
2929
pub imap_check_interval: u64,
3030

3131
/// Embedded HTTP server port for web UI
32-
#[arg(short = 'w', long, env, default_value = "8080")]
32+
#[arg(long, env, default_value = "8080")]
3333
pub http_server_port: u16,
3434

3535
/// Embedded HTTP server binding for web UI
36-
#[arg(short = 'b', long, env, default_value = "0.0.0.0")]
36+
#[arg(long, env, default_value = "0.0.0.0")]
3737
pub http_server_binding: String,
3838

3939
/// Username for the HTTP server basic auth login
40-
#[arg(short = 'l', long, env, default_value = "dmarc")]
40+
#[arg(long, env, default_value = "dmarc")]
4141
pub http_server_user: String,
4242

4343
/// Password for the HTTP server basic auth login.
4444
/// Use empty string to disable (not recommended).
45-
#[arg(short = 'a', long, env)]
45+
#[arg(long, env)]
4646
pub http_server_password: String,
4747

4848
/// Log level (trace, debug, info, warn, error)
49-
#[arg(short = 'e', long, env, default_value = "INFO")]
49+
#[arg(long, env, default_value = "INFO")]
5050
pub log_level: Level,
5151
}
5252

0 commit comments

Comments
 (0)