From d81fc0710ae12ce026053163370ab3dac5c1b1a5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 27 Mar 2016 23:53:50 -0400 Subject: usage: add an extended text section Many applets now are so complicated that a single line of text isn't sufficient to describe all of its capabilities/nuances. Allow them to pass in an arbitrary string of data to contain examples. --- qgrep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qgrep.c') diff --git a/qgrep.c b/qgrep.c index 7551ebb..73556ee 100644 --- a/qgrep.c +++ b/qgrep.c @@ -46,7 +46,7 @@ static const char * const qgrep_opts_help[] = { "Print lines of trailing context", COMMON_OPTS_HELP }; -#define qgrep_usage(ret) usage(ret, QGREP_FLAGS, qgrep_long_opts, qgrep_opts_help, lookup_applet_idx("qgrep")) +#define qgrep_usage(ret) usage(ret, QGREP_FLAGS, qgrep_long_opts, qgrep_opts_help, NULL, lookup_applet_idx("qgrep")) char qgrep_name_match(const char*, const int, depend_atom**); char qgrep_name_match(const char* name, const int argc, depend_atom** argv) -- cgit v1.2.3-65-gdbad