Skip to content

Commit 41dbcd4

Browse files
Michael J Grubergitster
authored andcommitted
Make <identifier> lowercase as per CodingGuidelines
*.c part for matches with '<[A-Z]+>' (and affected test). Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 23c6a80 commit 41dbcd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/t0040-parse-options.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ usage: test-parse-options <options>
1919
--set23 set integer to 23
2020
-t <time> get timestamp of <time>
2121
-L, --length <str> get length of <str>
22-
-F, --file <FILE> set file to <FILE>
22+
-F, --file <file> set file to <file>
2323
2424
String options
2525
-s, --string <string>

test-parse-options.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main(int argc, const char **argv)
4646
OPT_DATE('t', NULL, &timestamp, "get timestamp of <time>"),
4747
OPT_CALLBACK('L', "length", &integer, "str",
4848
"get length of <str>", length_callback),
49-
OPT_FILENAME('F', "file", &file, "set file to <FILE>"),
49+
OPT_FILENAME('F', "file", &file, "set file to <file>"),
5050
OPT_GROUP("String options"),
5151
OPT_STRING('s', "string", &string, "string", "get a string"),
5252
OPT_STRING(0, "string2", &string, "str", "get another string"),

0 commit comments

Comments
 (0)