capitalise folder/directory only short flags

may want --force or something in the future
This commit is contained in:
Lilian Jónsdóttir 2024-06-30 15:50:27 -07:00
parent 94864ff344
commit 120af1476c

View file

@ -352,14 +352,14 @@ var (
&cli.BoolFlag{ &cli.BoolFlag{
Name: "files-only", Name: "files-only",
Usage: "operate on files only", Usage: "operate on files only",
Aliases: []string{"f"}, Aliases: []string{"F"},
DisableDefaultText: true, DisableDefaultText: true,
Destination: &fo, Destination: &fo,
}, },
&cli.BoolFlag{ &cli.BoolFlag{
Name: "dirs-only", Name: "dirs-only",
Usage: "operate on directories only", Usage: "operate on directories only",
Aliases: []string{"d"}, Aliases: []string{"D"},
DisableDefaultText: true, DisableDefaultText: true,
Destination: &do, Destination: &do,
}, },