summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <curtis.mcenroe@adgear.com>2016-09-15 16:08:45 -0400
committerJune McEnroe <curtis.mcenroe@adgear.com>2016-09-15 16:08:45 -0400
commit7432385c344496978fdbbd1db2ac258216262780 (patch)
treefba08e6521ac3913e08cf1d2fda5e8ad3b9f0cd7
parentUse nvim as MANPAGER (diff)
downloadsrc-7432385c344496978fdbbd1db2ac258216262780.tar.gz
src-7432385c344496978fdbbd1db2ac258216262780.zip
Write xx usage to stderr
-rwxr-xr-x.bin/xx.c2
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;
         }
     }