diff options
author | Miles Bader <miles@gnu.org> | 1995-10-18 17:26:43 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-18 17:26:43 +0000 |
commit | b26ef264c5dde21470f7df3bf32850e207e8b580 (patch) | |
tree | 43c98789bf0251bcb74c2461a86c744e8085bb57 /utils | |
parent | e545c728a6514978821b21bc55b75cfe819e0e70 (diff) |
(parse_enum): Use ARGP_HELP_STD_ERR.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |