diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2011-01-17 19:17:56 -0600 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-01-18 09:24:06 +0100 |
commit | f2f03b79db00f04e5fe2f3db0307eda419373ec8 (patch) | |
tree | ff320a84c85bbbd9e9e6d33dd73f01f9d40e8355 /git-import-dscs | |
parent | b7136f34e36fa1f8d7bfd8f42a1de7d97d1dc763 (diff) |
git-import-dscs: Fix --debsnap doc and option error handling
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Closes: #610376
Diffstat (limited to 'git-import-dscs')
-rwxr-xr-x | git-import-dscs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-import-dscs b/git-import-dscs index 6571eb09..369d7f75 100755 --- a/git-import-dscs +++ b/git-import-dscs @@ -90,6 +90,9 @@ def main(argv): if '--debsnap' in import_args: use_debsnap = True import_args.remove('--debsnap') + if import_args == []: + print_help() + raise GbpError pkg = import_args[-1] import_args = import_args[:-1] else: |