mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
revuput: more --help
This commit is contained in:
parent
3b5d8a0eda
commit
61a0bbca1b
12
revuput
12
revuput
@ -29,7 +29,13 @@ except:
|
||||
# sys.exit(1)
|
||||
|
||||
|
||||
USAGE = 'Usage: revuput [-n] [<location>] [<debuild options>]'
|
||||
USAGE = \
|
||||
"""Usage: revuput [-n] [<location>] [<debuild options>]
|
||||
|
||||
-n to file a new bug
|
||||
<location> dput alias
|
||||
<debuild options> options that are passed to debuild(1)
|
||||
"""
|
||||
|
||||
|
||||
def dput_check():
|
||||
@ -153,6 +159,10 @@ def check_arguments(args):
|
||||
location = 'default'
|
||||
debuild_args = list()
|
||||
|
||||
if sys.argv[1] in ["--help", "-H"]:
|
||||
print USAGE
|
||||
sys.exit(0)
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
return (new_bug, location, debuild_args)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user