summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-23 16:55:42 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-23 16:55:42 +0100
commit19dc16ce4b9c5fa885b4641a174afb0e1e653a9f (patch)
treefd40e5f8e8b23592659fba85663193c564940bca /doc
parent0677443c45c89c64ee3a62849b76d8e8a6ddfb17 (diff)
downloadguix-19dc16ce4b9c5fa885b4641a174afb0e1e653a9f.tar.gz
style: Add '--dry-run'.
* guix/scripts/style.scm (edit-expression/dry-run): New procedure.
(simplify-package-inputs): Add #:edit-expression parameter.
(%options, show-help): Add '--dry-run'.
(guix-style): Honor '--dry-run'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index a503ed5ee0..1bb139e9b0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12725,6 +12725,10 @@ comments and bailing out if it cannot make sense of the code that
 appears in an inputs field.  The available options are listed below.
 
 @table @code
+@item --dry-run
+@itemx -n
+Show source file locations that would be edited but do not modify them.
+
 @item --load-path=@var{directory}
 @itemx -L @var{directory}
 Add @var{directory} to the front of the package module search path