diff options
Diffstat (limited to 'cmdline/apt-mark')
-rwxr-xr-x | cmdline/apt-mark | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdline/apt-mark b/cmdline/apt-mark index 2326ece38..466a56f27 100755 --- a/cmdline/apt-mark +++ b/cmdline/apt-mark @@ -82,6 +82,9 @@ if __name__ == "__main__": else: STATE_FILE=options.filename + if len(args) == 0: + parser.error("first argument must be 'markauto', 'unmarkauto' or 'showauto'") + if args[0] == "showauto": show_automatic(STATE_FILE) else: |