guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#59839] [PATCH v2] shell: Make --help show --target and --list-targe


From: Yarl Baudig
Subject: [bug#59839] [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








reply via email to

[Prev in Thread] Current Thread [Next in Thread]