diff options
| author | Louis Burda <quent.burda@gmail.com> | 2024-04-21 22:09:17 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2024-04-21 22:09:17 +0200 |
| commit | 4e63f021bbbe00a5e456385ab11ddf8a1a5fe524 (patch) | |
| tree | 6858298eab6070da52783f1e8e5f15ff13304fa4 | |
| parent | 00593807c8609425c47bc9052360bb945a4327b1 (diff) | |
| download | tquery-4e63f021bbbe00a5e456385ab11ddf8a1a5fe524.tar.gz tquery-4e63f021bbbe00a5e456385ab11ddf8a1a5fe524.zip | |
Update usage
| -rw-r--r-- | tquery.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |
