From 19dc16ce4b9c5fa885b4641a174afb0e1e653a9f Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 23 Nov 2021 16:55:42 +0100 Subject: 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'. --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3