diff options
author | Miles Bader <miles@gnu.org> | 1996-05-23 00:28:15 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-23 00:28:15 +0000 |
commit | 88fef0751bd4d6895092cb790eb80e12f2d3c892 (patch) | |
tree | 3b89f16f103958e8034eba5036282107d9b3ad31 | |
parent | d99365c0c6614a2604c2bfe4cf14137dc31d6347 (diff) |
(parse_startup_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
-rw-r--r-- | nfs/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -303,7 +303,7 @@ parse_startup_opt (int key, char *arg, struct argp_state *state) else if (state->arg_num == 1) host = arg; else - return EINVAL; + return ARGP_ERR_UNKNOWN; break; case ARGP_KEY_END: @@ -315,7 +315,7 @@ parse_startup_opt (int key, char *arg, struct argp_state *state) argp_error (state, "No REMOTE_FS specified"); default: - return EINVAL; + return ARGP_ERR_UNKNOWN; } return 0; } |