summaryrefslogtreecommitdiff
path: root/utils/showtrans.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-11 05:05:12 +0000
committerMiles Bader <miles@gnu.org>1996-05-11 05:05:12 +0000
commit830cc2ea7613de4c0693c596b38b140cc02f0c64 (patch)
treed2fad70f3b25573dbeba7ba96e2e09275295e7a2 /utils/showtrans.c
parent73b474d7a53dd1608cf9f34bf899c36e0f42ea9e (diff)
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'utils/showtrans.c')
-rw-r--r--utils/showtrans.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/showtrans.c b/utils/showtrans.c
index 2a0ac531..56255050 100644
--- a/utils/showtrans.c
+++ b/utils/showtrans.c
@@ -126,7 +126,8 @@ main (int argc, char *argv[])
case ARGP_KEY_NO_ARGS:
argp_usage (state); /* exits */
- default: return EINVAL;
+ default:
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}