unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59839] [PATCH] shell: Make --help show --target and --list-targets
@ 2022-12-05 17:16 Yarl Baudig
  2022-12-05 17:39 ` [bug#59839] [PATCH v2] " Yarl Baudig
  2022-12-05 20:41 ` [bug#59839] [PATCH v3] shell: Make --help show --system and --list-systems Yarl Baudig
  0 siblings, 2 replies; 4+ messages in thread
From: Yarl Baudig @ 2022-12-05 17:16 UTC (permalink / raw)
  To: 59839; +Cc: Yarl Baudig

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







^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#59839] [PATCH v2] shell: Make --help show --target and --list-targets
  2022-12-05 17:16 [bug#59839] [PATCH] shell: Make --help show --target and --list-targets Yarl Baudig
@ 2022-12-05 17:39 ` Yarl Baudig
  2022-12-05 20:41 ` [bug#59839] [PATCH v3] shell: Make --help show --system and --list-systems Yarl Baudig
  1 sibling, 0 replies; 4+ messages in thread
From: Yarl Baudig @ 2022-12-05 17:39 UTC (permalink / raw)
  To: 59839; +Cc: Yarl Baudig

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







^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#59839] [PATCH v3] shell: Make --help show --system and --list-systems
  2022-12-05 17:16 [bug#59839] [PATCH] shell: Make --help show --target and --list-targets Yarl Baudig
  2022-12-05 17:39 ` [bug#59839] [PATCH v2] " Yarl Baudig
@ 2022-12-05 20:41 ` Yarl Baudig
  2022-12-25 23:31   ` bug#59839: [PATCH] shell: Make --help show --target and --list-targets Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Yarl Baudig @ 2022-12-05 20:41 UTC (permalink / raw)
  To: 59839; +Cc: Yarl Baudig

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







^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#59839: [PATCH] shell: Make --help show --target and --list-targets
  2022-12-05 20:41 ` [bug#59839] [PATCH v3] shell: Make --help show --system and --list-systems Yarl Baudig
@ 2022-12-25 23:31   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-12-25 23:31 UTC (permalink / raw)
  To: Yarl Baudig; +Cc: 59839-done

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’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-25 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05 17:16 [bug#59839] [PATCH] shell: Make --help show --target and --list-targets Yarl Baudig
2022-12-05 17:39 ` [bug#59839] [PATCH v2] " Yarl Baudig
2022-12-05 20:41 ` [bug#59839] [PATCH v3] shell: Make --help show --system and --list-systems Yarl Baudig
2022-12-25 23:31   ` bug#59839: [PATCH] shell: Make --help show --target and --list-targets Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).