aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Winter <steffen.winter@proton.me>2024-02-09 00:29:39 +0100
committerSam James <sam@gentoo.org>2024-02-09 07:29:03 +0000
commitcf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d (patch)
tree3d76a506ce57eebce19420cdf3fa6ee5910988ae
parentELF: add entries for ARC machines (diff)
downloadportage-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.py2
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 "