Explorar el Código

Add tab completion for update command with group name

Mike Naberezny hace 11 años
padre
commit
2208e917c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: