threads / patch / 49020

patchbuiltin/config.c: separate message and value by colon in error messages

Subject: [PATCH] builtin/config.c: separate message and value by colon in error messages

## tl;dr

One message between Aug 3, 2018 and Aug 3, 2018. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ralf Thielow· Aug 3, 2018, 16:50 UTC · lore

The error message and the value that caused that error should be separated by a colon.

Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
---
 builtin/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/config.c +1 −1
diff --git a/builtin/config.c b/builtin/config.c
index 2c93a289a7..862f870b58 100644
--- a/builtin/config.c
+++ b/builtin/config.c
@@ -98,7 +98,7 @@ static int option_parse_type(const struct option *opt, const char *arg,
 		else if (!strcmp(arg, "color"))
 			new_type = TYPE_COLOR;
 		else
-			die(_("unrecognized --type argument, %s"), arg);
+			die(_("unrecognized --type argument: %s"), arg);
 	}
 
 	to_type = opt->value;
-- 
2.18.0.203.gfac676dfb9

← back to recent threads