]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-mark
apt-pkg/cdrom.h: move new member to the end to minimize ABI risk
[apt.git] / cmdline / apt-mark
index 12768b7088069fa9968ead5c89148325207bb048..c64d4356cc101e3c6dafcc7c0d04f646d7cad9b4 100755 (executable)
@@ -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")