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:
@@ -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]",
|
||||
|
Reference in New Issue
Block a user