projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: user space context: remove unneeded test import
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
help.cpp
diff --git
a/src/bin/lttng/commands/help.cpp
b/src/bin/lttng/commands/help.cpp
index 00af516de0129bef113303e0853738e057b06c5f..57b73a6b0a94198d90fdda62c68afb58ba4c8780 100644
(file)
--- a/
src/bin/lttng/commands/help.cpp
+++ b/
src/bin/lttng/commands/help.cpp
@@
-50,7
+50,7
@@
int cmd_help(int argc, const char **argv, const struct cmd_struct commands[])
const char *arg_cmd_name;
static poptContext pc;
const struct cmd_struct *cmd;
const char *arg_cmd_name;
static poptContext pc;
const struct cmd_struct *cmd;
-
int found = 0
;
+
bool found = false
;
const char *cmd_argv[2];
pc = poptGetContext(nullptr, argc, argv, long_options, 0);
const char *cmd_argv[2];
pc = poptGetContext(nullptr, argc, argv, long_options, 0);
@@
-95,7
+95,7
@@
int cmd_help(int argc, const char **argv, const struct cmd_struct commands[])
while (cmd->name != nullptr) {
if (strcmp(cmd->name, arg_cmd_name) == 0) {
while (cmd->name != nullptr) {
if (strcmp(cmd->name, arg_cmd_name) == 0) {
- found =
1
;
+ found =
true
;
break;
}
break;
}
This page took
0.023296 seconds
and
4
git commands to generate.