summaryrefslogtreecommitdiffstats
path: root/misc-utils/rename.1
diff options
context:
space:
mode:
authorG.raud Meyer2018-03-29 12:58:44 +0200
committerG.raud Meyer2018-03-29 20:35:30 +0200
commit0849ff36605588a7ab7892ab2aae59d73290e225 (patch)
tree13ae5e32a1fa9c4c4f8a6f5ec1879e260ef737a0 /misc-utils/rename.1
parentrename: when --no-overwrite skip verbosily only when --verbose (diff)
downloadkernel-qcow2-util-linux-0849ff36605588a7ab7892ab2aae59d73290e225.tar.gz
kernel-qcow2-util-linux-0849ff36605588a7ab7892ab2aae59d73290e225.tar.xz
kernel-qcow2-util-linux-0849ff36605588a7ab7892ab2aae59d73290e225.zip
rename: prevent --no-act from setting --no-overwrite
This fixes a bug introduced by commit fabb90676 ("Added --no-override option to rename.", 2017-05-27) where the fallthrough meant to let --no-act set --verbose was changed to set --no-override (the previous code was too smart). Do not let --no-act set --verbose anymore but update the manual to recommend adding option --verbose. This is to be able to make --no-act detect only non existing file arguments (in a future commit).
Diffstat (limited to 'misc-utils/rename.1')
-rw-r--r--misc-utils/rename.14
1 files changed, 3 insertions, 1 deletions
diff --git a/misc-utils/rename.1 b/misc-utils/rename.1
index d476d2435..df329461b 100644
--- a/misc-utils/rename.1
+++ b/misc-utils/rename.1
@@ -23,7 +23,9 @@ Do not rename a symlink but its target.
Show which files were renamed, if any.
.TP
.BR \-n , " \-\-no\-act"
-Do not make any changes.
+Do not make any changes; add
+.BR \-\-verbose
+to see what would be made.
.TP
.BR \-o , " \-\-no\-overwrite"
Do not overwrite existing files. When