-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: hackvr action: commit revision: path_from: revision_from: af82c190a1c2b4b5e3d4348139563f9ecd785cfc: path_to: revision_to:
commit af82c190a1c2b4b5e3d4348139563f9ecd785cfc Author: epoch <epoch@hacking.allowed.org> Date: Wed Mar 21 00:51:07 2018 -0500 updated slowcat to output help message for -h and --help diff --git a/src/slowcat.c b/src/slowcat.c
--- 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; }
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:35:50 2024