]> arthur.barton.de Git - bup.git/commitdiff
tag-cmd.py: fix -f placement in delete synopsis
authorGabriel Filion <gabster@lelutin.ca>
Sat, 15 Nov 2014 22:06:11 +0000 (17:06 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 16 Nov 2014 21:01:43 +0000 (15:01 -0600)
The -d option is the one that should take the <tag name> argument,
whereas the -f option has no argument.

With better ordering in the synopis, this is less misleading.

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
[rlb@defaultvalue.org: adjust commit summary]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
cmd/tag-cmd.py

index 95b3d7c7e8a4765be2b8eaa1095c4799f2f552db..8b4a7086527e57b5e6d8e5d8569126cc7a419eec 100755 (executable)
@@ -16,7 +16,7 @@ handle_ctrl_c()
 optspec = """
 bup tag
 bup tag [-f] <tag name> <commit>
-bup tag -d [-f] <tag name>
+bup tag [-f] -d <tag name>
 --
 d,delete=   Delete a tag
 f,force     Overwrite existing tag, or ignore missing tag when deleting