1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-04 14:43:38 +02:00

Change the help output to determine executable name from the command-line arguments

This commit is contained in:
2024-09-19 14:12:13 +02:00
parent de23223e4f
commit ff30efaa81

View File

@@ -86,7 +86,6 @@ class Command:
self.parser.set_defaults(_selected_command=self)
else:
self.parser = argparse.ArgumentParser(
prog=self.name,
description=self.get_description(),
formatter_class=cmdln.HelpFormatter,
usage="%(prog)s [global opts] <command> [--help] [opts] [args]",