>> add replace flag to help message

> fix whitespace issues in help message
This commit is contained in:
Thomas Lindop 2025-05-28 11:23:58 +01:00
parent ed919acff7
commit b99b5bc3b7

View file

@ -347,7 +347,7 @@ func printHelp() {
Options: Options:
-s,--strategy remove|represent -s,--strategy remove|represent
What to do with bad characters; either replace with a representation or What to do with bad characters; either replace with a representation or
remove remove
-h,--help -h,--help
Show this message Show this message
-v,--version -v,--version
@ -362,8 +362,11 @@ func printHelp() {
Select a set of characters to limit filenames to. Select a set of characters to limit filenames to.
-p,--portable -p,--portable
Alias for "--valid-set posix" Alias for "--valid-set posix"
-c,--replace TARGET:REPLACEMENT1,REPLACEMENT2,...
Replace each instance of TARGET in file names with REPLACEMENT1 the
first time they appear, REPLACEMENT2 the second time, and so on
See man page for more details See man page for more details
`); `);
} }