summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2024-04-21 22:09:17 +0200
committerLouis Burda <quent.burda@gmail.com>2024-04-21 22:09:17 +0200
commit4e63f021bbbe00a5e456385ab11ddf8a1a5fe524 (patch)
tree6858298eab6070da52783f1e8e5f15ff13304fa4
parent00593807c8609425c47bc9052360bb945a4327b1 (diff)
downloadtquery-4e63f021bbbe00a5e456385ab11ddf8a1a5fe524.tar.gz
tquery-4e63f021bbbe00a5e456385ab11ddf8a1a5fe524.zip
Update usage
-rw-r--r--tquery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tquery.c b/tquery.c
index 8518539..e72a7bc 100644
--- a/tquery.c
+++ b/tquery.c
@@ -3,7 +3,6 @@
#include <sys/wait.h>
#include <sys/poll.h>
#include <sys/fcntl.h>
-#include <limits.h>
#include <signal.h>
#include <dirent.h>
#include <unistd.h>
@@ -456,10 +455,11 @@ usage(int rc, bool full)
fprintf(stderr, "\n");
fprintf(stderr, " -h, --help Show this message\n");
fprintf(stderr, " -d, --delim Set input entry delim\n");
- fprintf(stderr, " -s, --oneshot Exit after oneshot selection\n");
+ fprintf(stderr, " -o, --oneshot Exit after oneshot selection\n");
fprintf(stderr, " -e, --stderr Dont close child stderr\n");
- fprintf(stderr, " -a, --args Split the query into args\n");
+ fprintf(stderr, " -s, --split Split the query into args\n");
fprintf(stderr, " -x, --hook Program to invoke on Ctrl-x\n");
+ fprintf(stderr, " -X, --hook-io Program to invoke on Ctrl-x with io\n");
fprintf(stderr, "\n");
}
exit(rc);