summaryrefslogtreecommitdiffstats
path: root/text-utils/rev.c
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils/rev.c')
-rw-r--r--text-utils/rev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/rev.c b/text-utils/rev.c
index 735aaef3d..fe3884389 100644
--- a/text-utils/rev.c
+++ b/text-utils/rev.c
@@ -127,7 +127,7 @@ int main(int argc, char *argv[])
case 'h':
usage(stdout);
default:
- usage(stderr);
+ errtryhelp(EXIT_FAILURE);
}
argc -= optind;