@@ -5,48 +5,48 @@ use tracing::Level;
5
5
#[ command( version, about, long_about = None ) ]
6
6
pub struct Configuration {
7
7
/// Host name or domain of the IMAP server with the DMARC reports inbox
8
- #[ arg( short = 's' , long, env) ]
8
+ #[ arg( long, env) ]
9
9
pub imap_host : String ,
10
10
11
11
/// User name of the IMAP inbox with the DMARC reports
12
- #[ arg( short = 'u' , long, env) ]
12
+ #[ arg( long, env) ]
13
13
pub imap_user : String ,
14
14
15
15
/// Password of the IMAP inbox with the DMARC reports
16
- #[ arg( short = 'p' , long, env) ]
16
+ #[ arg( long, env) ]
17
17
pub imap_password : String ,
18
18
19
19
/// TLS encrypted port of the IMAP server
20
- #[ arg( short = 't' , long, env, default_value = "993" ) ]
20
+ #[ arg( long, env, default_value = "993" ) ]
21
21
pub imap_port : u16 ,
22
22
23
23
/// TCP connection timeout for IMAP server in seconds
24
- #[ arg( short = 'o' , long, env, default_value = "10" ) ]
24
+ #[ arg( long, env, default_value = "10" ) ]
25
25
pub imap_timeout : u64 ,
26
26
27
27
/// 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" ) ]
29
29
pub imap_check_interval : u64 ,
30
30
31
31
/// Embedded HTTP server port for web UI
32
- #[ arg( short = 'w' , long, env, default_value = "8080" ) ]
32
+ #[ arg( long, env, default_value = "8080" ) ]
33
33
pub http_server_port : u16 ,
34
34
35
35
/// 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" ) ]
37
37
pub http_server_binding : String ,
38
38
39
39
/// Username for the HTTP server basic auth login
40
- #[ arg( short = 'l' , long, env, default_value = "dmarc" ) ]
40
+ #[ arg( long, env, default_value = "dmarc" ) ]
41
41
pub http_server_user : String ,
42
42
43
43
/// Password for the HTTP server basic auth login.
44
44
/// Use empty string to disable (not recommended).
45
- #[ arg( short = 'a' , long, env) ]
45
+ #[ arg( long, env) ]
46
46
pub http_server_password : String ,
47
47
48
48
/// Log level (trace, debug, info, warn, error)
49
- #[ arg( short = 'e' , long, env, default_value = "INFO" ) ]
49
+ #[ arg( long, env, default_value = "INFO" ) ]
50
50
pub log_level : Level ,
51
51
}
52
52
0 commit comments