Tweaked usage message.
This commit is contained in:
parent
d5d8a9982b
commit
732745bb70
|
@ -21,10 +21,10 @@ from distutils.cmd import Command
|
||||||
# and per-command help.
|
# and per-command help.
|
||||||
usage = """\
|
usage = """\
|
||||||
usage: %s [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
|
usage: %s [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
|
||||||
or: %s --help
|
or: %s --help [cmd1 cmd2 ...]
|
||||||
or: %s --help-commands
|
or: %s --help-commands
|
||||||
or: %s cmd --help
|
or: %s cmd --help
|
||||||
""" % ((sys.argv[0],) * 4)
|
""" % ((os.path.basename(sys.argv[0]),) * 4)
|
||||||
|
|
||||||
|
|
||||||
def setup (**attrs):
|
def setup (**attrs):
|
||||||
|
|
Loading…
Reference in New Issue