From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 12 22:29:06 2022 Received: (at submit) by debbugs.gnu.org; 13 Nov 2022 03:29:06 +0000 Received: from localhost ([127.0.0.1]:49705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou3gA-000797-4X for submit@debbugs.gnu.org; Sat, 12 Nov 2022 22:29:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:53030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou3g8-000790-F7 for submit@debbugs.gnu.org; Sat, 12 Nov 2022 22:29:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ou3g8-0002t6-AG for guix-patches@gnu.org; Sat, 12 Nov 2022 22:29:04 -0500 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ou3g5-0005lE-Tx for guix-patches@gnu.org; Sat, 12 Nov 2022 22:29:03 -0500 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 6f706d44 for ; Sun, 13 Nov 2022 04:28:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=hs+BXpVMP3Z01oO0TVGwD bEjzPCLU9r/7Bg7U1cNC40=; b=Kx8CFjouHXl0S2SU9BxVGeDnQyfY2ccOhT8v5 fx19KPyAfMBu6mdzjya81MwWii6idhqbdZTcWPKxkm7+a6yzkpTAxOeJZ4W4U8vB FiOlImzP9PTaIUCikQvnqhAoWO5/NdV2Dz3tQ60Og65+cG5VgCbIIoC1O2R7Gclr ZlS4cRC0xT7BDMX8TZ61yn9WYtt9UlkMtLfllm98g2VjCrlTPb4fwnwAa3CkziVG JMb8kLINLRlqoEtQNTAYXK7XPlAQ9t1szZVuNU82V23MBvJV84OTlfMbymUQHTX6 h6KgDiFlCxHC2Z1/YtCLNmNeQT8RNXOjgBXBEF1s4hwieUung== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 9955590e for ; Sun, 13 Nov 2022 04:28:58 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 3e323dda for ; Sun, 13 Nov 2022 04:28:58 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 195a526d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 13 Nov 2022 04:28:52 +0100 (CET) From: jgart To: guix-patches@gnu.org Subject: [PATCH] gnu: %options: Add short flag -R for --list-transitive option. Date: Sat, 12 Nov 2022 21:28:33 -0600 Message-Id: <20221113032832.16933-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * guix/scripts/refresh.scm (%options): Add short flag -R. --- guix/scripts/refresh.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm index 14329751f8..aff32c13de 100644 --- a/guix/scripts/refresh.scm +++ b/guix/scripts/refresh.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2019 Ricardo Wurmus ;;; Copyright © 2020 Simon Tournier ;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2022 jgart ;;; ;;; This file is part of GNU Guix. ;;; @@ -99,7 +100,7 @@ (define %options (option '(#\r "recursive") #f #f (lambda (opt name arg result) (alist-cons 'recursive? #t result))) - (option '("list-transitive") #f #f + (option '(#\R "list-transitive") #f #f (lambda (opt name arg result) (alist-cons 'list-transitive? #t result))) @@ -157,7 +158,7 @@ (define (show-help) (display (G_ " -r, --recursive check the PACKAGE and its inputs for upgrades")) (display (G_ " - --list-transitive list all the packages that PACKAGE depends on")) + -R, --list-transitive list all the packages that PACKAGE depends on")) (newline) (display (G_ " --keyring=FILE use FILE as the keyring of upstream OpenPGP keys")) -- 2.38.1