From 7432385c344496978fdbbd1db2ac258216262780 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 15 Sep 2016 16:08:45 -0400 Subject: Write xx usage to stderr --- .bin/xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bin') diff --git a/.bin/xx.c b/.bin/xx.c index 689d3d0b..734f9d3c 100755 --- a/.bin/xx.c +++ b/.bin/xx.c @@ -40,7 +40,7 @@ int main(int argc, char **argv) { else if (opt == 'k') flags ^= FLAG_SKIP; else { - printf("usage: xx [-afk] [-c N] [-g N] [FILE]\n"); + fprintf(stderr, "usage: xx [-afk] [-c N] [-g N] [FILE]\n"); return (opt == 'h') ? EXIT_SUCCESS : EXIT_FAILURE; } } -- cgit 1.4.1