Make the additional arguments error say what the additional arguments are
This commit is contained in:
parent
ee1490dc4a
commit
02412a1f6d
|
@ -110,7 +110,7 @@ inside the terminal")
|
|||
|
||||
(options, args) = parser.parse_args ()
|
||||
if len (args) != 0:
|
||||
parser.error("Expecting zero additional arguments, found: %d" % len (args))
|
||||
parser.error("Expecting zero additional arguments, found: %d: %s" % (len (args), args))
|
||||
|
||||
if options.no_gconf and options.profile:
|
||||
parser.error("using --no-gconf and defining a profile at the same time \
|
||||
|
|
Loading…
Reference in New Issue