diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-03-16 17:33:24 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-03-16 17:33:24 +0200 |
commit | 94a00d62010af69315f32e2067907e162f5a3d9e (patch) | |
tree | b2c39ae088fe9021fd5341b7deb407b133d9c534 | |
parent | 014eb4b62f50b6857c32d4326a80bc23cfb1780c (diff) | |
download | ambient-driver-94a00d62010af69315f32e2067907e162f5a3d9e.tar.gz |
feat: allow --dput as an alias for --dput-target
Also, --rsync as an alias for --target.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index 1d4e965..c3258f1 100644 --- a/src/config.rs +++ b/src/config.rs @@ -62,11 +62,11 @@ pub struct RunCommand { log: Option<PathBuf>, /// rsync target for publishing ikiwiki output. - #[clap(long)] + #[clap(long, alias = "rsync")] target: Option<String>, /// dput target for publishing .deb package. - #[clap(long)] + #[clap(long, alias = "dput")] dput_target: Option<String>, /// Path to `run-ci` binary to use to run CI in VM. |