projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: cli: help command: accept leftover when --component is not specified
[babeltrace.git]
/
cli
/
babeltrace-cfg-cli-args.c
diff --git
a/cli/babeltrace-cfg-cli-args.c
b/cli/babeltrace-cfg-cli-args.c
index 394e9e65e318d216acb5611e6ff8ba5cec4c7d5e..cd8fb1892d831656017865e400f0918c941c715a 100644
(file)
--- a/
cli/babeltrace-cfg-cli-args.c
+++ b/
cli/babeltrace-cfg-cli-args.c
@@
-1890,7
+1890,7
@@
struct bt_config *bt_config_help_from_args(int argc, const char *argv[],
leftover = poptGetArg(pc);
if (leftover) {
- if (
!
plug_comp_cls_names) {
+ if (plug_comp_cls_names) {
printf_err("Cannot specify plugin name and --component component class:\n %s\n",
leftover);
goto error;
This page took
0.022769 seconds
and
4
git commands to generate.