@@ -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
6565func 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
7676func 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
8787func 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
9898func Pascal (input string , output string , args ... string ) {
9999 process (input , output , args , strings2 .ToPascal )
100100}
0 commit comments