summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2006-12-23 15:05:20 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-12-23 15:05:20 +0100
commiteb8d45822da098061d3ffa27cc38504a20cd6187 (patch)
treef56626da47c6437759be417b3b7cb22c46a9857e
parent98a70bca236328e23db2b13b531ab9202c93b2ca (diff)
inotail.c: Print usage to stdout
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inotail.c b/inotail.c
index 5e98ebd..6346ee5 100644
--- a/inotail.c
+++ b/inotail.c
@@ -60,7 +60,7 @@ static const struct option long_opts[] = {
static void usage(const int status)
{
- fprintf(stderr, "Usage: %s [OPTION]... [FILE]...\n\n"
+ fprintf(stdout, "Usage: %s [OPTION]... [FILE]...\n\n"
" -c N, --bytes=N output the last N bytes\n"
" -f, --follow output as the file grows\n"
" -n N, --lines=N output the last N lines (default: %d)\n"