diff mbox series

[bug#59839,v2] shell: Make --help show --target and --list-targets

Message ID 20221205173921.4885-1-yarl-baudig@mailoo.org
State New
Headers show
Series [bug#59839,v2] shell: Make --help show --target and --list-targets | expand

Commit Message

yarl baudig Dec. 5, 2022, 5:39 p.m. UTC
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(-)


base-commit: c3713d53e0bdf1186e08880b9e0ae6dd85f55fc4
diff mbox series

Patch

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_ "