Permalink
Browse files

cli usage(): Syntax => Usage (friendlier terminology)

  • Loading branch information...
lirazsiri committed Oct 24, 2013
1 parent 179c2c4 commit e23dc1deec318ec1a71a3021f445da509b40047b
Showing with 8 additions and 8 deletions.
  1. +1 −1 cliwrapper.py
  2. +1 −1 cmd_backup.py
  3. +1 −1 cmd_escrow.py
  4. +1 −1 cmd_init.py
  5. +1 −1 cmd_list.py
  6. +1 −1 cmd_passphrase.py
  7. +1 −1 cmd_restore_rollback.py
  8. +1 −1 cmd_status.py
View
@@ -47,7 +47,7 @@ def _usage(cls, commands, e=None):
if e:
print >> sys.stderr, "error: " + str(e)
- print >> sys.stderr, "Syntax: %s <command> [arguments]" % sys.argv[0]
+ print >> sys.stderr, "Usage: %s <command> [arguments]" % sys.argv[0]
print >> sys.stderr, cls.DESCRIPTION.strip()
print >> sys.stderr, "\nCommands: \n"
View
@@ -133,7 +133,7 @@ def usage(e=None):
if e:
print >> stdout, "error: " + str(e)
- print >> stdout, "Syntax: %s [ -options ] [ override ... ]" % sys.argv[0]
+ print >> stdout, "Usage: %s [ -options ] [ override ... ]" % sys.argv[0]
tpl = Template(__doc__.strip())
conf = Conf()
print >> stdout, tpl.substitute(CONF_PATH=conf.paths.conf,
View
@@ -32,7 +32,7 @@ def usage(e=None):
if e:
print >> sys.stderr, "error: " + str(e)
- print >> sys.stderr, "Syntax: %s [-options] KEYFILE" % sys.argv[0]
+ print >> sys.stderr, "Usage: %s [-options] KEYFILE" % sys.argv[0]
print >> sys.stderr, __doc__
sys.exit(1)
View
@@ -60,7 +60,7 @@ def usage(e=None):
if e:
print >> sys.stderr, "error: " + str(e)
- print >> sys.stderr, "Syntax: %s [ API-KEY ]" % sys.argv[0]
+ print >> sys.stderr, "Usage: %s [ API-KEY ]" % sys.argv[0]
print >> sys.stderr, __doc__.strip()
sys.exit(1)
View
@@ -46,7 +46,7 @@ def usage(e=None):
if e:
print >> sys.stderr, "error: " + str(e)
- print >> sys.stderr, "Syntax: %s [ <format> ]" % (sys.argv[0])
+ print >> sys.stderr, "Usage: %s [ <format> ]" % (sys.argv[0])
print >> sys.stderr, __doc__
sys.exit(1)
View
@@ -29,7 +29,7 @@ def usage(e=None):
if e:
print >> sys.stderr, "error: " + str(e)
- print >> sys.stderr, "Syntax: %s [-options]" % sys.argv[0]
+ print >> sys.stderr, "Usage: %s [-options]" % sys.argv[0]
print >> sys.stderr, __doc__.strip()
sys.exit(1)
View
@@ -30,7 +30,7 @@ def usage(e=None):
if e:
print >> sys.stderr, "error: " + str(e)
- print >> sys.stderr, "Syntax: %s" % sys.argv[0]
+ print >> sys.stderr, "Usage: %s" % sys.argv[0]
print >> sys.stderr, __doc__.strip()
sys.exit(1)
View
@@ -50,7 +50,7 @@ def usage(e=None):
if e:
print >> sys.stderr, "error: " + str(e)
- print >> sys.stderr, "Syntax: %s [ -options ]" % (sys.argv[0])
+ print >> sys.stderr, "Usage: %s [ -options ]" % (sys.argv[0])
print >> sys.stderr, __doc__.strip()
sys.exit(1)

0 comments on commit e23dc1d

Please sign in to comment.