From b26ef264c5dde21470f7df3bf32850e207e8b580 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 18 Oct 1995 17:26:43 +0000 Subject: (parse_enum): Use ARGP_HELP_STD_ERR. --- utils/ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/ps.c b/utils/ps.c index 206dad05..a3ff26d0 100644 --- a/utils/ps.c +++ b/utils/ps.c @@ -112,7 +112,7 @@ parse_enum(char *arg, char **choices, char *kind, bool allow_mismatches) if (partial_match >= 0) { fprintf(stderr, "%s: Ambiguous %s", arg, kind); - argp_help (0, stderr, ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR); + argp_help (0, stderr, ARGP_HELP_STD_ERR); } else partial_match = p - choices; @@ -122,7 +122,7 @@ parse_enum(char *arg, char **choices, char *kind, bool allow_mismatches) if (partial_match < 0 && !allow_mismatches) { fprintf(stderr, "%s: Invalid %s", arg, kind); - argp_help (0, stderr, ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR); + argp_help (0, stderr, ARGP_HELP_STD_ERR); return 0; } -- cgit v1.2.3