projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add -b, --background option
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.c
diff --git
a/src/bin/lttng-relayd/main.c
b/src/bin/lttng-relayd/main.c
index 1eb28f6fc1d240074f01f0643f844e81c8961864..b1b48185bdb5f3ae6132fd8027e2aea15ca54e78 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-166,12
+166,13
@@
int parse_args(int argc, char **argv)
{ "help", 0, 0, 'h', },
{ "output", 1, 0, 'o', },
{ "verbose", 0, 0, 'v', },
{ "help", 0, 0, 'h', },
{ "output", 1, 0, 'o', },
{ "verbose", 0, 0, 'v', },
+ { "background", 0, 0, 'b' },
{ NULL, 0, 0, 0, },
};
while (1) {
int option_index = 0;
{ NULL, 0, 0, 0, },
};
while (1) {
int option_index = 0;
- c = getopt_long(argc, argv, "dhv" "C:D:L:o:g:",
+ c = getopt_long(argc, argv, "dhv" "C:D:L:o:g:
b
",
long_options, &option_index);
if (c == -1) {
break;
long_options, &option_index);
if (c == -1) {
break;
@@
-217,6
+218,9
@@
int parse_args(int argc, char **argv)
case 'd':
opt_daemon = 1;
break;
case 'd':
opt_daemon = 1;
break;
+ case 'b':
+ opt_background = 1;
+ break;
case 'g':
tracing_group_name = optarg;
break;
case 'g':
tracing_group_name = optarg;
break;
This page took
0.024365 seconds
and
4
git commands to generate.