This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f844e7c6472 style: Complete help for 'remove-input' style rule.
f844e7c6472 is described below

commit f844e7c647247c38bf27e313590a916b9608b727
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Sep 16 20:49:07 2026 +0100

    style: Complete help for 'remove-input' style rule.
    
    * guix/scripts/style.scm (show-styling): Sort rules alphabetically.
    Mention --parameter option.  Add description for remove-input,
    remove-native-input, remove-propagated-input rules.
    (show-help): Mention --parameter sub option for --styling.
    
    Merges: guix/guix!11283
    Reviewed-by: Nguyễn Gia Phong <[email protected]>
    Reviewed-by: Ludovic Courtès <[email protected]>
---
 guix/scripts/style.scm | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/style.scm b/guix/scripts/style.scm
index 6d499bc3411..7d976956c57 100644
--- a/guix/scripts/style.scm
+++ b/guix/scripts/style.scm
@@ -813,16 +813,25 @@ Return the new origin S-expression or #f if 
transformation isn't applicable."
 
 (define (show-stylings)
   (display (G_ "Available styling rules:\n"))
+  (display (G_ "- arguments: Rewrite package arguments to G-expressions\n"))
   (display (G_ "- format: Format the given package definition(s)\n"))
+  (display (G_ "- git-source: Rewrite source fetch method to Git.\n"))
   (display (G_ "- inputs: Rewrite package inputs to the “new style”\n"))
-  (display (G_ "- arguments: Rewrite package arguments to G-expressions\n"))
-  (display (G_ "- git-source: Rewrite source fetch method to Git.\n")))
+  (display (G_ "\n"))
+  (display (G_ "Rules supporting --parameter=PARAM option:\n"))
+  (display (G_ "- remove-input, remove-native-input, remove-propagated-input:
+  Remove a PARAM from the given PACKAGE(s) native-inputs, inputs or
+  propagated-inputs field.  If PACKAGE is not provided, apply the rule for each
+  occurrence of PARAM across all packages.\n")))
 
 (define (show-help)
   (display (G_ "Usage: guix style [OPTION]... [PACKAGE]...
 Update package definitions to the latest style.\n"))
   (display (G_ "
   -S, --styling=RULE     apply RULE, a styling rule"))
+  (display (G_ "
+      --parameter=PARAM  use PARAM, e.g. package name, as a parmeter for
+                         the styling RULE supporting it"))
   (display (G_ "
   -l, --list-stylings    display the list of available style rules"))
   (newline)

Reply via email to