aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-12 12:46:06 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-12 12:46:06 +0200
commitb9e722a2f6f61f92db26d02c083f1f1bb242003f (patch)
treed5609706c2e2e975e86ab063c1fb13f54d1e3f2d /src/main.rs
parentcb51941a08c72cb371be3939c40d7257dd6098bf (diff)
Change --dryrun to --dry-run
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 379a14d..2681a55 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -51,7 +51,7 @@ impl Flags {
while let Some(arg) = parser.next()? {
match arg {
Short('0') | Long("nul") => flags.nul = true,
- Short('d') | Long("dryrun") => flags.dryrun = true,
+ Short('d') | Long("dry-run") => flags.dryrun = true,
Short('e') | Long("encode") => flags.encode = true,
Short('i') | Long("individual") => flags.individual = true,
Short('n') | Long("no-backup") => flags.backup = false,