]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-mark
merge with debian-sid, update-po for manpages and fix a few more
[apt.git] / cmdline / apt-mark
index 0e73dda7863c72cdaa4dd8b542c8c10ee13b55e7..18552177c7537642ed7fd7b698b4845a8f90c735 100755 (executable)
@@ -76,6 +76,10 @@ if __name__ == "__main__":
                       help="print verbose status messages to stdout")
     (options, args) = parser.parse_args()
 
+    if not args:
+        parser.print_help()
+        sys.exit(1)
+
     # get the state-file
     if not options.filename:
         STATE_FILE = apt_pkg.config.find_dir("Dir::State") + "extended_states"