From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 102D915815E for ; Fri, 9 Feb 2024 07:29:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CD56E29CB; Fri, 9 Feb 2024 07:29:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D600E29CB for ; Fri, 9 Feb 2024 07:29:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F6E5335D77 for ; Fri, 9 Feb 2024 07:29:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F376814BD for ; Fri, 9 Feb 2024 07:29:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1707463743.cf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/emaint/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/emaint/main.py X-VCS-Directories: lib/portage/emaint/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d X-VCS-Branch: master Date: Fri, 9 Feb 2024 07:29:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6270ae90-de34-4efc-9430-9a8efec32ddc X-Archives-Hash: e30a2a75be37c8efa2204651c6e6dc57 commit: cf9dfb8274a0bcce0776b53e5d184d5a8ce2f17d Author: Steffen Winter proton me> AuthorDate: Thu Feb 8 23:29:39 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 9 07:29:03 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=cf9dfb82 emaint: Print 'usage: ' only once in help message `ArgumentParser` prepends 'usage: ' to the usage message already. Signed-off-by: Steffen Winter proton.me> Closes: https://github.com/gentoo/portage/pull/1256 Signed-off-by: Sam James gentoo.org> lib/portage/emaint/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/emaint/main.py b/lib/portage/emaint/main.py index 0c620a1a84..ad6eea359e 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 "