about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-08-09 20:09:42 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-08-09 20:09:42 +0200
commit7ed07d34dc7f704222530e7e200f3f192cf85b59 (patch)
treeaa9f62744cc5cce456f7da6f8fb351f4db24b5b4
parente81f6169927db72e6e704ee612f16960829e8dd6 (diff)
downloadnq-7ed07d34dc7f704222530e7e200f3f192cf85b59.tar.gz
nq-7ed07d34dc7f704222530e7e200f3f192cf85b59.tar.xz
nq-7ed07d34dc7f704222530e7e200f3f192cf85b59.zip
fq: add usage
-rw-r--r--fq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fq.c b/fq.c
index 98b80fc..cf02c2d 100644
--- a/fq.c
+++ b/fq.c
@@ -14,6 +14,7 @@
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -73,6 +74,7 @@ main(int argc, char *argv[])
 			qflag = 1;
 			break;
 		default:
+			fputs("usage: fq [-qa] [JOBID...]\n", stderr);
 			exit(1);
 		}
 	}