>> rename directory flag

> add it to man page
This commit is contained in:
Thomas Lindop 2025-05-24 11:45:32 +01:00
parent 5ce718239e
commit bea54603cb
2 changed files with 6 additions and 2 deletions

View file

@ -192,7 +192,7 @@ func parseCLIArgs(args []string) (context, error) {
}
for index < len(args) {
switch arg := args[index]; arg {
case "-d", "--directory":
case "-r", "--recurse":
index++
result.RecurseDirs = append(result.RecurseDirs, args[index])
case "-n", "--dry-run":
@ -233,7 +233,7 @@ func printHelp() {
-s,--strategy
-h,--help
-v,--version
-d,--directory DIRECTORY
-r,--recurse DIRECTORY
`);
}