diff --git a/api/funkwhale_api/common/management/commands/script.py b/api/funkwhale_api/common/management/commands/script.py index be94e4eab..ab165f626 100644 --- a/api/funkwhale_api/common/management/commands/script.py +++ b/api/funkwhale_api/common/management/commands/script.py @@ -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 ") + self.stdout.write("Launch with: funkwhale-manage script ") available_scripts = self.get_scripts() for name, script in sorted(available_scripts.items()): self.stdout.write("") diff --git a/changes/changelog.d/funkwhale-manage_scripts.bugfix b/changes/changelog.d/funkwhale-manage_scripts.bugfix new file mode 100644 index 000000000..de23db89f --- /dev/null +++ b/changes/changelog.d/funkwhale-manage_scripts.bugfix @@ -0,0 +1 @@ +Fix help messages for running scripts using funkwhale-manage