diff options
author | Julian Andres Klode <jak@debian.org> | 2010-05-04 17:52:36 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2010-05-04 17:52:36 +0200 |
commit | d63a1458427692a6f98274e76020e0f803408d81 (patch) | |
tree | 675e52b2e0ae347c1e04fd89933ac88bfacf9f9a /cmdline/apt-mark | |
parent | 229fb1a3a35bade26cfff373087461d7a98aade3 (diff) |
cmdline/apt-get.cc: Add apt-get markauto, showauto and unmarkauto commands.
Diffstat (limited to 'cmdline/apt-mark')
-rwxr-xr-x | cmdline/apt-mark | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-mark b/cmdline/apt-mark index 12768b708..c64d4356c 100755 --- a/cmdline/apt-mark +++ b/cmdline/apt-mark @@ -8,7 +8,7 @@ import os.path try: import apt_pkg except ImportError: - print "Error importing apt_pkg, is python-apt installed?" + print >> sys.stderr, "Error importing apt_pkg, is python-apt installed?" sys.exit(1) actions = { "markauto" : 1, @@ -68,6 +68,7 @@ if __name__ == "__main__": # option parsing parser = OptionParser() parser.usage = "%prog [options] {markauto|unmarkauto} packages..." + parser.epilog = "apt-mark is deprecated, use apt-get markauto/unmarkauto." parser.add_option("-f", "--file", action="store", type="string", dest="filename", help="read/write a different file") |