Просмотр исходного кода

Add process name completion for signal

Mike Naberezny 10 лет назад
Родитель
Сommit
218911bea0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      supervisor/supervisorctl.py

+ 2 - 2
supervisor/supervisorctl.py

@@ -261,8 +261,8 @@ class Controller(cmd.Cmd):
             elif action in ('add', 'remove', 'update'):
                 matches = self._complete_groups(text)
             # actions that accept a process name
-            elif action in ('clear', 'fg', 'pid', 'restart', 'start',
-                            'stop', 'status', 'tail'):
+            elif action in ('clear', 'fg', 'pid', 'restart', 'signal',
+                            'start', 'status', 'stop', 'tail'):
                 matches = self._complete_processes(text)
         if len(matches) > state:
             return matches[state]