You must login to view /lordwelch/chasquid/src/commit/77328b88edb8be47f3957f605b5b88c182b47e01/test/t-18-haproxy.
The GitHub option should be usable for most people, it only links via username.

Files
chasquid/cmd/chasquid-util/test_bad_args.cmy
Albert ARIBAUD fa074ec16c chasquid-util: switch --configdir into --config_dir and deprecate --configdir
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.
2025-03-31 09:19:45 +01:00

22 lines
851 B
Plaintext

# Unknown argument.
c = ./chasquid-util --config_dir=.config blahrarghar
c <- Unknown argument "blahrarghar"
c wait 1
c = ./chasquid-util --config_dir=.nonono check-userdb
c <- Error: file ".nonono/domains//users" does not exist
c wait 1
c = ./chasquid-util --config_dir=.nonono print-config
c <- Error loading config: failed to read config at ".nonono/chasquid.conf": open .nonono/chasquid.conf: no such file or directory
c wait 1
c = ./chasquid-util --config_dir=.nonono aliases-resolve email@addr
c <- Error loading config: failed to read config at ".nonono/chasquid.conf": open .nonono/chasquid.conf: no such file or directory
c wait 1
c = ./chasquid-util --config_dir=.nonono domaininfo-remove domain
c <- Error loading config: failed to read config at ".nonono/chasquid.conf": open .nonono/chasquid.conf: no such file or directory
c wait 1