]> arthur.barton.de Git - bup.git/commitdiff
split-cmd.py: change -N to --noop (which actually exists) in error messages.
authorGabriel Filion <gabster@lelutin.ca>
Fri, 2 Aug 2013 20:31:03 +0000 (16:31 -0400)
committerRob Browning <rlb@defaultvalue.org>
Sun, 18 Aug 2013 18:20:26 +0000 (13:20 -0500)
Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
[rlb@defaultvalue.org: adjusted commit message.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
cmd/split-cmd.py

index de1cffe54511cf22b495c570d29dbe32c7ebf0e4..443753f85b37741ea2fa2e41626357280c2363ee 100755 (executable)
@@ -35,10 +35,10 @@ handle_ctrl_c()
 git.check_repo_or_die()
 if not (opt.blobs or opt.tree or opt.commit or opt.name or
         opt.noop or opt.copy):
-    o.fatal("use one or more of -b, -t, -c, -n, -N, --copy")
-if (opt.noop or opt.copy) and (opt.blobs or opt.tree or 
+    o.fatal("use one or more of -b, -t, -c, -n, --noop, --copy")
+if (opt.noop or opt.copy) and (opt.blobs or opt.tree or
                                opt.commit or opt.name):
-    o.fatal('-N and --copy are incompatible with -b, -t, -c, -n')
+    o.fatal('--noop and --copy are incompatible with -b, -t, -c, -n')
 if opt.blobs and (opt.tree or opt.commit or opt.name):
     o.fatal('-b is incompatible with -t, -c, -n')
 if extra and opt.git_ids: