aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-27 23:53:50 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-27 23:53:50 -0400
commitd81fc0710ae12ce026053163370ab3dac5c1b1a5 (patch)
treeb1b911eb493bb6f8f5356a3d3d0562288a1a4efb /qgrep.c
parentqlop: add --date option to filter output (diff)
downloadportage-utils-d81fc0710ae12ce026053163370ab3dac5c1b1a5.tar.gz
portage-utils-d81fc0710ae12ce026053163370ab3dac5c1b1a5.tar.bz2
portage-utils-d81fc0710ae12ce026053163370ab3dac5c1b1a5.zip
usage: add an extended text sectionv0.63
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.
Diffstat (limited to 'qgrep.c')
-rw-r--r--qgrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qgrep.c b/qgrep.c
index 7551ebbb..73556ee2 100644
--- a/qgrep.c
+++ b/qgrep.c
@@ -46,7 +46,7 @@ static const char * const qgrep_opts_help[] = {
"Print <arg> 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)