Skip to content

Commit e852a66

Browse files
Update CLI help descriptions
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 97c8358 commit e852a66

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

cli/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func process(input string, output string, args []string, fn func(string, ...any)
6161
//
6262
// input: -i --input (default: "") Input file or - for stdin
6363
// output: -o --output (default: "") Output file or - for stdout
64-
// args: ... Positional arguments
64+
// args: ... String to convert if file/stdin not provided
6565
func Camel(input string, output string, args ...string) {
6666
process(input, output, args, strings2.ToCamel)
6767
}
@@ -72,7 +72,7 @@ func Camel(input string, output string, args ...string) {
7272
//
7373
// input: -i --input (default: "") Input file or - for stdin
7474
// output: -o --output (default: "") Output file or - for stdout
75-
// args: ... Positional arguments
75+
// args: ... String to convert if file/stdin not provided
7676
func Snake(input string, output string, args ...string) {
7777
process(input, output, args, strings2.ToSnake)
7878
}
@@ -83,7 +83,7 @@ func Snake(input string, output string, args ...string) {
8383
//
8484
// input: -i --input (default: "") Input file or - for stdin
8585
// output: -o --output (default: "") Output file or - for stdout
86-
// args: ... Positional arguments
86+
// args: ... String to convert if file/stdin not provided
8787
func Kebab(input string, output string, args ...string) {
8888
process(input, output, args, strings2.ToKebab)
8989
}
@@ -94,7 +94,7 @@ func Kebab(input string, output string, args ...string) {
9494
//
9595
// input: -i --input (default: "") Input file or - for stdin
9696
// output: -o --output (default: "") Output file or - for stdout
97-
// args: ... Positional arguments
97+
// args: ... String to convert if file/stdin not provided
9898
func Pascal(input string, output string, args ...string) {
9999
process(input, output, args, strings2.ToPascal)
100100
}

cmd/strings2/templates/camel_usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Flags:
99
--output, -o string Output file or - for stdout
1010

1111
Positional Arguments:
12-
args Positional arguments
12+
args String to convert if file/stdin not provided

cmd/strings2/templates/kebab_usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Flags:
99
--output, -o string Output file or - for stdout
1010

1111
Positional Arguments:
12-
args Positional arguments
12+
args String to convert if file/stdin not provided

cmd/strings2/templates/pascal_usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Flags:
99
--output, -o string Output file or - for stdout
1010

1111
Positional Arguments:
12-
args Positional arguments
12+
args String to convert if file/stdin not provided

cmd/strings2/templates/snake_usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Flags:
99
--output, -o string Output file or - for stdout
1010

1111
Positional Arguments:
12-
args Positional arguments
12+
args String to convert if file/stdin not provided

0 commit comments

Comments
 (0)