summaryrefslogtreecommitdiff
path: root/cmdline/apt-mark
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-05-06 16:15:53 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-05-06 16:15:53 +0200
commitd1aa91622b3e0f7653889cab205e4c5c622162f4 (patch)
tree2daa36375c215c86df9b98c435d7899402748287 /cmdline/apt-mark
parent2d847a5919828ab26dd3f3c5993497b95df9051b (diff)
parentd7087c493bf2fc7a0eaf6fa308c496c81e6dc98f (diff)
merge with debian-experimental-ma
Diffstat (limited to 'cmdline/apt-mark')
-rwxr-xr-xcmdline/apt-mark3
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")