cosmetics in help

This commit is contained in:
zolliker 2024-02-26 09:07:22 +01:00
parent 98cdb71856
commit a32f1c05f5
2 changed files with 4 additions and 3 deletions

View File

@ -493,6 +493,7 @@ class ServiceManager:
if len(self.info) == 1: if len(self.info) == 1:
for key in options: for key in options:
options[key] = '' options[key] = ''
options['remark'] = ' '
wildcards = False wildcards = False
else: else:
options['legend'] = ' [instance] is empty or one of %s\n' % ', '.join(self.info) options['legend'] = ' [instance] is empty or one of %s\n' % ', '.join(self.info)

View File

@ -59,9 +59,9 @@ class SeaManager(ServiceManager):
sea gui %(ins)s sea gui %(ins)s
sea %(ins)s # the same as sea gui <instance> sea %(ins)s # the same as sea gui <instance>
sea cli %(ins)s # the same as old seacmd sea cli %(ins)s # the same as old seacmd
sea start %(ins)s[service] %(remark)s # the same as old 'monit start sea' sea start %(ins)s[service] %(remark)s # the same as old 'monit start sea'
sea restart %(ins)s[service] %(remark)s sea restart %(ins)s[service] %(remark)s
sea stop %(ins)s[service] %(remark)s sea stop %(ins)s[service] %(remark)s
sea list %(optional_ins)s sea list %(optional_ins)s
[service] is empty or one of sea, graph [service] is empty or one of sea, graph