Skip to content

Commit 726c4e3

Browse files
Michael J Grubergitster
authored andcommitted
commit,tag: use same wording for -F
Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1e58dba commit 726c4e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builtin/commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static struct option builtin_commit_options[] = {
118118
OPT__VERBOSE(&verbose, "show diff in commit message template"),
119119

120120
OPT_GROUP("Commit message options"),
121-
OPT_FILENAME('F', "file", &logfile, "read log from file"),
121+
OPT_FILENAME('F', "file", &logfile, "read message from file"),
122122
OPT_STRING(0, "author", &force_author, "AUTHOR", "override author for commit"),
123123
OPT_STRING(0, "date", &force_date, "DATE", "override date for commit"),
124124
OPT_CALLBACK('m', "message", &message, "MESSAGE", "specify commit message", opt_parse_m),

builtin/tag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ int cmd_tag(int argc, const char **argv, const char *prefix)
378378
"annotated tag, needs a message"),
379379
OPT_CALLBACK('m', NULL, &msg, "msg",
380380
"message for the tag", parse_msg_arg),
381-
OPT_FILENAME('F', NULL, &msgfile, "message in a file"),
381+
OPT_FILENAME('F', NULL, &msgfile, "read message from file"),
382382
OPT_BOOLEAN('s', NULL, &sign, "annotated and GPG-signed tag"),
383383
OPT_STRING('u', NULL, &keyid, "key-id",
384384
"use another key to sign the tag"),

0 commit comments

Comments
 (0)