>> add replace flag to help message
> fix whitespace issues in help message
This commit is contained in:
parent
ed919acff7
commit
b99b5bc3b7
1 changed files with 6 additions and 3 deletions
7
main.go
7
main.go
|
|
@ -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
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue