diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/slowcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slowcat.c b/src/slowcat.c index 647d2f0..305c0d8 100644 --- a/src/slowcat.c +++ b/src/slowcat.c @@ -6,7 +6,7 @@ int main(int argc,char *argv[]) { short in; FILE *fp=stdin; - if(argc < 2) { + if(argc < 2 || (argc >= 2 && (!strcmp(argv[1],"-h") || !strcmp(argv[1],"--help")))) { fprintf(stderr,"usage: slowcat delay [file1] [file2] [...]\n"); return 1; } |