diff options
author | Steffen Winter <steffen.winter@proton.me> | 2024-02-09 00:29:39 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-09 07:29:03 +0000 |
commit | cf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d (patch) | |
tree | 3d76a506ce57eebce19420cdf3fa6ee5910988ae | |
parent | ELF: add entries for ARC machines (diff) | |
download | portage-cf9dfb82.tar.gz portage-cf9dfb82.tar.bz2 portage-cf9dfb82.zip |
emaint: Print 'usage: ' only once in help message
`ArgumentParser` prepends 'usage: ' to the usage message already.
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
Closes: https://github.com/gentoo/portage/pull/1256
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | lib/portage/emaint/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portage/emaint/main.py b/lib/portage/emaint/main.py index 0c620a1a8..ad6eea359 100644 --- a/lib/portage/emaint/main.py +++ b/lib/portage/emaint/main.py @@ -62,7 +62,7 @@ class OptionItem: def usage(module_controller): - _usage = "usage: emaint [options] COMMAND" + _usage = "emaint [options] COMMAND" desc = ( "The emaint program provides an interface to system health " |