diff --git a/revuput b/revuput index 645ad4c..f30bcc4 100755 --- a/revuput +++ b/revuput @@ -29,7 +29,13 @@ except: # sys.exit(1) -USAGE = 'Usage: revuput [-n] [] []' +USAGE = \ +"""Usage: revuput [-n] [] [] + +-n to file a new bug + dput alias + 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)