tquery

Interactive command query tool
git clone https://git.sinitax.com/sinitax/tquery
Log | Files | Refs | LICENSE | sfeed.txt

commit 4e63f021bbbe00a5e456385ab11ddf8a1a5fe524
parent 00593807c8609425c47bc9052360bb945a4327b1
Author: Louis Burda <quent.burda@gmail.com>
Date:   Sun, 21 Apr 2024 22:09:17 +0200

Update usage

Diffstat:
Mtquery.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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);