shell: Make --help show --system and --list-systems.

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.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Yarl Baudig 2022-12-05 21:41:01 +01:00 committed by Ludovic Courtès
parent badad2653f
commit 800b3234fb
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

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