[WIP] improve help message

This commit is contained in:
2024-02-23 18:01:27 +01:00
parent 0b099bab28
commit 343e607c1b
4 changed files with 27 additions and 21 deletions

View File

@ -175,15 +175,14 @@ class FrappyManager(ServiceManager):
USAGE = """
Usage:
frappy list [instance] *
frappy start <instance> <service> <cfgfiles>
frappy restart <instance> [<service>] [<cfgfiles>] *
frappy stop <instance> [<service>] *
frappy listcfg <instance> [<service> | develop] # list available cfg files
frappy list %(optional_ins)s
frappy start %(ins)s<service> <cfgfiles>
frappy restart %(ins)s[<service>] [<cfgfiles>] %(remark)s
frappy stop %(ins)s[<service>] %(remark)s
frappy listcfg %(ins)s[<service> | develop] # list available cfg files
<service> is one of main, stick, addons
%s
* wildcards allowed, using '.' to replace 0 or more arbitrary characters in <instance>
%(legend)s
"""
def config_dirs(self, ins, service):