GNU bug report logs - #59839
[PATCH] shell: Make --help show --target and --list-targets

Previous Next

Package: guix-patches;

Reported by: Yarl Baudig <yarl-baudig <at> mailoo.org>

Date: Mon, 5 Dec 2022 17:17:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59839 in the body.
You can then email your comments to 59839 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59839; Package guix-patches. (Mon, 05 Dec 2022 17:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yarl Baudig <yarl-baudig <at> mailoo.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 05 Dec 2022 17:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Yarl Baudig <yarl-baudig <at> mailoo.org>
To: guix-patches <at> gnu.org
Cc: Yarl Baudig <yarl-baudig <at> mailoo.org>
Subject: [PATCH] shell: Make --help show --target and --list-targets
Date: Mon,  5 Dec 2022 18:16:22 +0100
These options are callable and documented in the manual but not
shown by --help.

* guix/scripts/shell.scm: Make --help show --target and
--list-targets.
---
 guix/scripts/shell.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm
index 2fc1dc942a..bca5ddf4eb 100644
--- a/guix/scripts/shell.scm
+++ b/guix/scripts/shell.scm
@@ -76,6 +76,8 @@ (define (show-help)
   (newline)
   (show-build-options-help)
   (newline)
+  (show-native-build-options-help)
+  (newline)
   (show-transformation-options-help)
   (newline)
   (display (G_ "

base-commit: c3713d53e0bdf1186e08880b9e0ae6dd85f55fc4
-- 
2.38.1







Information forwarded to guix-patches <at> gnu.org:
bug#59839; Package guix-patches. (Mon, 05 Dec 2022 17:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 59839 <at> debbugs.gnu.org (full text, mbox):

From: Yarl Baudig <yarl-baudig <at> mailoo.org>
To: 59839 <at> debbugs.gnu.org
Cc: Yarl Baudig <yarl-baudig <at> mailoo.org>
Subject: [PATCH v2] shell: Make --help show --target and --list-targets
Date: Mon,  5 Dec 2022 18:39:21 +0100
Sorry about that, forgot to import show-native-build-options-help in v1.

These options are callable and documented in the manual but not
shown by --help.

* guix/scripts/shell.scm: Make --help show --target and
--list-targets.
---
 guix/scripts/shell.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm
index 2fc1dc942a..3c18e0edbc 100644
--- a/guix/scripts/shell.scm
+++ b/guix/scripts/shell.scm
@@ -20,7 +20,8 @@ (define-module (guix scripts shell)
   #:use-module (guix ui)
   #:use-module ((guix diagnostics) #:select (location))
   #:use-module (guix scripts environment)
-  #:autoload   (guix scripts build) (show-build-options-help)
+  #:autoload   (guix scripts build) (show-build-options-help
+				     show-native-build-options-help)
   #:autoload   (guix transformations) (options->transformation
                                        transformation-option-key?
                                        show-transformation-options-help)
@@ -76,6 +77,8 @@ (define (show-help)
   (newline)
   (show-build-options-help)
   (newline)
+  (show-native-build-options-help)
+  (newline)
   (show-transformation-options-help)
   (newline)
   (display (G_ "

base-commit: c3713d53e0bdf1186e08880b9e0ae6dd85f55fc4
-- 
2.38.1







Information forwarded to guix-patches <at> gnu.org:
bug#59839; Package guix-patches. (Mon, 05 Dec 2022 20:42:01 GMT) Full text and rfc822 format available.

Message #11 received at 59839 <at> debbugs.gnu.org (full text, mbox):

From: Yarl Baudig <yarl-baudig <at> mailoo.org>
To: 59839 <at> debbugs.gnu.org
Cc: Yarl Baudig <yarl-baudig <at> mailoo.org>
Subject: [PATCH v3] shell: Make --help show --system and --list-systems
Date: Mon,  5 Dec 2022 21:41:01 +0100
These options are callable and documented in the manual but not
shown by --help.

* guix/scripts/shell.scm: Make --help show --system and
--list-systems.
---
 guix/scripts/shell.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm
index 2fc1dc942a..3c18e0edbc 100644
--- a/guix/scripts/shell.scm
+++ b/guix/scripts/shell.scm
@@ -20,7 +20,8 @@ (define-module (guix scripts shell)
   #:use-module (guix ui)
   #:use-module ((guix diagnostics) #:select (location))
   #:use-module (guix scripts environment)
-  #:autoload   (guix scripts build) (show-build-options-help)
+  #:autoload   (guix scripts build) (show-build-options-help
+				     show-native-build-options-help)
   #:autoload   (guix transformations) (options->transformation
                                        transformation-option-key?
                                        show-transformation-options-help)
@@ -76,6 +77,8 @@ (define (show-help)
   (newline)
   (show-build-options-help)
   (newline)
+  (show-native-build-options-help)
+  (newline)
   (show-transformation-options-help)
   (newline)
   (display (G_ "

base-commit: c3713d53e0bdf1186e08880b9e0ae6dd85f55fc4
-- 
2.38.1







Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 25 Dec 2022 23:32:01 GMT) Full text and rfc822 format available.

Notification sent to Yarl Baudig <yarl-baudig <at> mailoo.org>:
bug acknowledged by developer. (Sun, 25 Dec 2022 23:32:02 GMT) Full text and rfc822 format available.

Message #16 received at 59839-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Yarl Baudig <yarl-baudig <at> mailoo.org>
Cc: 59839-done <at> debbugs.gnu.org
Subject: Re: bug#59839: [PATCH] shell: Make --help show --target and
 --list-targets
Date: Mon, 26 Dec 2022 00:31:09 +0100
Hi,

Yarl Baudig <yarl-baudig <at> mailoo.org> skribis:

> These options are callable and documented in the manual but not
> shown by --help.
>
> * guix/scripts/shell.scm: Make --help show --system and
> --list-systems.

Applied, thanks!

Nitpick: Make sure to use spaces, not tabs.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 23 Jan 2023 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.