Преглед изворни кода

Merge pull request #479 from lwoydziak/master

Increased detail on positional args error message
Mike Naberezny пре 10 година
родитељ
комит
65bbd5cdeb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      supervisor/options.py

+ 1 - 1
supervisor/options.py

@@ -272,7 +272,7 @@ class Options:
 
         # Check for positional args
         if self.args and not self.positional_args_allowed:
-            self.usage("positional arguments are not supported")
+            self.usage("positional arguments are not supported: %s" % (str(self.args)))
 
         # Process options returned by getopt
         for opt, arg in self.options: