summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-18 17:26:43 +0000
committerMiles Bader <miles@gnu.org>1995-10-18 17:26:43 +0000
commitb26ef264c5dde21470f7df3bf32850e207e8b580 (patch)
tree43c98789bf0251bcb74c2461a86c744e8085bb57
parente545c728a6514978821b21bc55b75cfe819e0e70 (diff)
(parse_enum): Use ARGP_HELP_STD_ERR.
-rw-r--r--utils/ps.c4
1 files changed, 2 insertions, 2 deletions
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;
}