do not show <instance> in help when not needed

This commit is contained in:
2021-04-09 10:28:18 +02:00
parent 3748948b5d
commit 4fb55323e3
4 changed files with 13 additions and 9 deletions

View File

@ -51,15 +51,15 @@ class SeaManager(ServiceManager):
Usage:
sea gui <instance>
sea <instance> # the same as sea gui <instance>
sea cli <instance> (the same as old seacmd)
sea start <instance> <service>
sea <instance> # the same as sea gui <instance>
sea cli <instance> # the same as old seacmd
sea start <instance> [<service>]
sea restart <instance> [<service>]
sea stop <instance> [<service>]
sea list [<instance>]
<service> is one of sea, graph
<instance> is one of %s
%s
"""
def do_cli(self, ins):