summary refs log tree commit diff
path: root/.bin/xx.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-09-15 16:08:45 -0400
committerJune McEnroe <june@causal.agency>2016-09-15 16:08:45 -0400
commitd218cfe491a83739434900290ac51cc9472900e4 (patch)
tree09e118bb979654af748fa643ede9cfabb7c7adfa /.bin/xx.c
parentUse nvim as MANPAGER (diff)
downloadsrc-d218cfe491a83739434900290ac51cc9472900e4.tar.gz
src-d218cfe491a83739434900290ac51cc9472900e4.zip
Write xx usage to stderr
Diffstat (limited to '')
-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;
         }
     }