Remove dot which shouldn't be here, as err(3) will attach error message
at the end of the string.
This commit is contained in:
parent
7648b1e9c0
commit
f104beb787
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212607
@ -262,7 +262,7 @@ set_option(struct gctl_req *req, struct g_option *opt, const char *val)
|
|||||||
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
|
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
|
||||||
G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {
|
G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {
|
||||||
if (expand_number(val, &number) == -1) {
|
if (expand_number(val, &number) == -1) {
|
||||||
err(EXIT_FAILURE, "Invalid value for '%c' argument.",
|
err(EXIT_FAILURE, "Invalid value for '%c' argument",
|
||||||
opt->go_char);
|
opt->go_char);
|
||||||
}
|
}
|
||||||
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER) {
|
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER) {
|
||||||
|
Loading…
Reference in New Issue
Block a user