diff options
author | June McEnroe <curtis.mcenroe@adgear.com> | 2016-09-15 16:08:45 -0400 |
---|---|---|
committer | June McEnroe <curtis.mcenroe@adgear.com> | 2016-09-15 16:08:45 -0400 |
commit | 7432385c344496978fdbbd1db2ac258216262780 (patch) | |
tree | fba08e6521ac3913e08cf1d2fda5e8ad3b9f0cd7 /.bin | |
parent | Use nvim as MANPAGER (diff) | |
download | src-7432385c344496978fdbbd1db2ac258216262780.tar.gz src-7432385c344496978fdbbd1db2ac258216262780.zip |
Write xx usage to stderr
Diffstat (limited to '')
-rwxr-xr-x | .bin/xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |