There's an inconsistency between chasquid (which uses `--config_dir`) and chasquid-util (which uses `--configdir`). That is prone to cause confusion, so this patch renames chasquid-util's flag, leaving the old one as deprecated with a warning message. Closes https://github.com/albertito/chasquid/pull/60. Amended-by: Alberto Bertogli <albertito@blitiri.com.ar> Added test case for the deprecated option, adjusted commit message.
30 lines
800 B
Plaintext
30 lines
800 B
Plaintext
# --help
|
|
c = ./chasquid-util --config_dir=.config --help
|
|
c <-
|
|
c <- Usage:
|
|
c wait 0
|
|
|
|
# print-config
|
|
c = ./chasquid-util -C=.config print-config
|
|
c <~ hostname: +".*"
|
|
c <~ max_data_size_mb: +50
|
|
c <~ smtp_address: +"systemd"
|
|
c <~ submission_address: +"systemd"
|
|
c <~ submission_over_tls_address: +"systemd"
|
|
c <~ mail_delivery_agent_bin: +"maildrop"
|
|
c <~ mail_delivery_agent_args: +"-f"
|
|
c <~ mail_delivery_agent_args: +"%from%"
|
|
c <~ mail_delivery_agent_args: +"-d"
|
|
c <~ mail_delivery_agent_args: +"%to_user%"
|
|
c <~ data_dir: +".data"
|
|
c <~ suffix_separators: +"\+"
|
|
c <~ drop_characters: +"\."
|
|
c <~ mail_log_path: +"<syslog>"
|
|
c wait 0
|
|
|
|
# Deprecated --configdir.
|
|
c = ./chasquid-util --configdir=.config print-config
|
|
c <- Option --configdir is deprecated, use --config_dir instead
|
|
c <~ hostname: +".*"
|
|
c wait 0
|