소스 검색

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: