projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: show man page when using command's --help
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
status.c
diff --git
a/src/bin/lttng/commands/status.c
b/src/bin/lttng/commands/status.c
index b3555c9840cba2f2cba2463bcfc448f31d2d93f9..693527535418cb647a6b8400ccc247d6cd4e39f1 100644
(file)
--- a/
src/bin/lttng/commands/status.c
+++ b/
src/bin/lttng/commands/status.c
@@
-15,7
+15,6
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <popt.h>
#include <stdio.h>
#define _LGPL_SOURCE
#include <popt.h>
#include <stdio.h>
@@
-84,7
+83,7
@@
int cmd_status(int argc, const char **argv)
while ((opt = poptGetNextOpt(pc)) != -1) {
switch (opt) {
case OPT_HELP:
while ((opt = poptGetNextOpt(pc)) != -1) {
switch (opt) {
case OPT_HELP:
-
usage(stdout
);
+
SHOW_HELP(
);
goto end;
case OPT_LIST_OPTIONS:
list_cmd_options(stdout, long_options);
goto end;
case OPT_LIST_OPTIONS:
list_cmd_options(stdout, long_options);
This page took
0.025504 seconds
and
5
git commands to generate.