samba-tool: Clarify usage of --help.
authorKarolin Seeger <kseeger@samba.org>
Mon, 8 Oct 2012 09:47:22 +0000 (11:47 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Oct 2012 09:47:22 +0000 (11:47 +0200)
Karolin

source4/scripting/python/samba/netcmd/__init__.py

index c542dc61f58b65f176b29d1321cefeba48b68c4e..ec2d22214d048f54346b3fa973b64c10e6649462 100644 (file)
@@ -209,7 +209,7 @@ class SuperCommand(Command):
         if subcommand in [None]:
             raise CommandError("You must specify a subcommand")
         if subcommand in ['help', '-h', '--help']:
-            self.outf.write("For more help on a specific subcommand, please type: %s (-h|--help)\n" % myname)
+            self.outf.write("For more help on a specific subcommand, please type: %s <subcommand> (-h|--help)\n" % myname)
             return 0
         raise CommandError("No such subcommand '%s'" % subcommand)