diff options
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index 08bf1f1..1129cf8 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -338,7 +338,10 @@ parse_opt (int key, char *arg, struct argp_state *state) break; if (cnt == lastdb) - return ARGP_ERR_UNKNOWN; + { + argp_error (state, _("'%s' is not a known database"), arg); + return EINVAL; + } size_t arg_len = strlen (arg) + 1; struct |