diff --git a/base.py b/base.py index 1d8d846..0ed20cd 100644 --- a/base.py +++ b/base.py @@ -264,6 +264,8 @@ class ServiceManager: def do_stop(self, ins, service=None, *args): self.get_info() + if ins is None: + raise ValueError('use stop all if you really want to stop all') ins_list = self.wildcard(ins) if ins_list is not None: return ins_list