diff mbox series

[bug#59839,v3] shell: Make --help show --system and --list-systems

Message ID 20221205204101.23553-1-yarl-baudig@mailoo.org
State New
Headers show
Series [bug#59839,v3] shell: Make --help show --system and --list-systems | expand

Commit Message

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


base-commit: c3713d53e0bdf1186e08880b9e0ae6dd85f55fc4

Comments

Ludovic Courtès Dec. 25, 2022, 11:31 p.m. UTC | #1
Hi,

Yarl Baudig <yarl-baudig@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’.
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_ "