diff options
author | June McEnroe <june@causal.agency> | 2016-09-15 16:08:45 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2016-09-15 16:08:45 -0400 |
commit | d218cfe491a83739434900290ac51cc9472900e4 (patch) | |
tree | 09e118bb979654af748fa643ede9cfabb7c7adfa | |
parent | Use nvim as MANPAGER (diff) | |
download | src-d218cfe491a83739434900290ac51cc9472900e4.tar.gz src-d218cfe491a83739434900290ac51cc9472900e4.zip |
Write xx usage to stderr
-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; } } |