Skip to contentSkip to conversation

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

PATCH New Ralf Thielow 1 participant 1 message Aug 3, 2018

lore
Share & tools
lore
#0 lore raw

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

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

---
 builtin/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/config.c +1 -1
index 2c93a289a7..862f870b58 100644
@@ -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;
Signature · 1 line
2.18.0.203.gfac676dfb9