diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-03-12 10:16:11 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-03-12 10:16:11 +0100 |
commit | 4df2e0640505f5e80fcbd9f167e4539637a251a6 (patch) | |
tree | ac599571fd845919b656e2054885403c52519851 /cmdline/apt-mark | |
parent | 3ed9acb90edb6fac452af21b2bb277ddb6ee63dc (diff) | |
parent | eefacd4c6653485b3da8dc267a8068207398464b (diff) |
* apt-pkg/deb/dpkgpm.cc:
- fix backgrounding when dpkg runs (closes: #486222)
* cmdline/apt-mark:
- show error on incorrect aguments (LP: #517917), thanks to
Torsten Spindler
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: |