fix(api): Fix misleading help texts for funkwhale-manage script

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2507>
environments/review-docs-merge-hoc7bt/deployments/18064
Georg Krause 2023-06-21 09:54:09 +02:00 zatwierdzone przez Marge
rodzic 85b4845427
commit 59ecd8c6d4
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -26,7 +26,7 @@ class Command(BaseCommand):
script = available_scripts[name]
except KeyError:
raise CommandError(
"{} is not a valid script. Run funkwhale-manage for a "
"{} is not a valid script. Run funkwhale-manage script for a "
"list of available scripts".format(name)
)
@ -43,7 +43,7 @@ class Command(BaseCommand):
def show_help(self):
self.stdout.write("")
self.stdout.write("Available scripts:")
self.stdout.write("Launch with: funkwhale-manage <script_name>")
self.stdout.write("Launch with: funkwhale-manage script <script_name>")
available_scripts = self.get_scripts()
for name, script in sorted(available_scripts.items()):
self.stdout.write("")

Wyświetl plik

@ -0,0 +1 @@
Fix help messages for running scripts using funkwhale-manage