瀏覽代碼

Add tab completion for update command with group name

Mike Naberezny 11 年之前
父節點
當前提交
2208e917c3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      supervisor/supervisorctl.py

+ 1 - 1
supervisor/supervisorctl.py

@@ -286,7 +286,7 @@ class Controller(cmd.Cmd):
                     return None
                 results=[i+' ' for i in self.vocab if i.startswith(text)]+[None]
                 return results[state]
-            elif exp in ['add','remove']:
+            elif exp in ['add','remove','update']:
                 results=self.completionmatches(text,line,flag=1)+[None]
                 return results[state]
             else: