소스 검색

Add help for the new ``pid`` command options

Mike Naberezny 14 년 전
부모
커밋
4383cfe096
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/supervisor/supervisorctl.py

+ 4 - 0
src/supervisor/supervisorctl.py

@@ -627,6 +627,10 @@ class DefaultControllerPlugin(ControllerPluginBase):
 
     def help_pid(self):
         self.ctl.output("pid\t\t\tGet the PID of supervisord.")    
+        self.ctl.output("pid <name>\t\tGet the PID of a single "
+            "child process by name.")
+        self.ctl.output("pid all\t\t\tGet the PID of every child "
+            "process, one per line.")
 
     def _startresult(self, result):
         name = result['name']