From a32f1c05f567f084ac8f6ee7a5a13597032ec483 Mon Sep 17 00:00:00 2001 From: pc16470 Date: Mon, 26 Feb 2024 09:07:22 +0100 Subject: [PATCH] cosmetics in help --- base.py | 1 + seaman.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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