From: Mathieu Desnoyers Date: Mon, 23 Jul 2012 15:03:12 +0000 (-0400) Subject: relayd: cleanup X-Git-Tag: v2.1.0-rc1~63 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e3678fd81cd6d83ea45f38a3d834bbdcf83f3f8f;p=lttng-tools.git relayd: cleanup Make structure/array definition easier to extend by already placing comma at the end of lists (this is much more regexp-friendly). Signed-off-by: Mathieu Desnoyers --- diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 795a69415..5a12ba888 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -118,13 +118,13 @@ int parse_args(int argc, char **argv) char *default_address; static struct option long_options[] = { - { "control-port", 1, 0, 'C' }, - { "data-port", 1, 0, 'D' }, - { "daemonize", 0, 0, 'd' }, - { "help", 0, 0, 'h' }, - { "output", 1, 0, 'o' }, - { "verbose", 0, 0, 'v' }, - { NULL, 0, 0, 0 } + { "control-port", 1, 0, 'C', }, + { "data-port", 1, 0, 'D', }, + { "daemonize", 0, 0, 'd', }, + { "help", 0, 0, 'h', }, + { "output", 1, 0, 'o', }, + { "verbose", 0, 0, 'v', }, + { NULL, 0, 0, 0 }, }; while (1) {