diff --git a/base.py b/base.py index 80226e9..d732b08 100644 --- a/base.py +++ b/base.py @@ -493,6 +493,7 @@ class ServiceManager: if len(self.info) == 1: for key in options: options[key] = '' + options['remark'] = ' ' wildcards = False else: options['legend'] = ' [instance] is empty or one of %s\n' % ', '.join(self.info) diff --git a/seaman.py b/seaman.py index 96addb9..c438166 100644 --- a/seaman.py +++ b/seaman.py @@ -59,9 +59,9 @@ class SeaManager(ServiceManager): sea gui %(ins)s sea %(ins)s # the same as sea gui sea cli %(ins)s # the same as old seacmd - sea start %(ins)s[service] %(remark)s # the same as old 'monit start sea' - sea restart %(ins)s[service] %(remark)s - sea stop %(ins)s[service] %(remark)s + sea start %(ins)s[service] %(remark)s # the same as old 'monit start sea' + sea restart %(ins)s[service] %(remark)s + sea stop %(ins)s[service] %(remark)s sea list %(optional_ins)s [service] is empty or one of sea, graph