From c1aa0ee9bdbdd229bba50dec6d1c0f41bff7b8d2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 10 Jan 2022 17:43:52 +0100 Subject: guix hash: Allow '-r' as a non-deprecated alias. This is a followup to 05c962594c346da21f201be72caadfa19060cc9d. Discussed at . * guix/scripts/hash.scm (%options): Warn about deprecation for "--recursive", but not for '-r' as it's a convenient shorthand. Mention '--serializer=nar' in the deprecation message. * doc/guix.texi (Invoking guix hash): Adjust accordingly. --- doc/guix.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index ab9f17b29f..390c4347d6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -11827,11 +11827,12 @@ in the definitions of packages. @item --recursive @itemx -r -This option is deprecated in favor of @option{--serializer}. It is a -legacy alias for that with @var{type} set to @code{nar}. +The @option{--recursive} option is deprecated in favor of +@option{--serializer=nar} (see below); @option{-r} remains accepted as a +convenient shorthand. @item --serializer=@var{type} -@itemx -S +@itemx -S @var{type} Compute the hash on @var{file} using @var{type} serialization. @var{type} may be one of the following: -- cgit v1.2.3