From: Philippe Proulx Date: Wed, 30 Nov 2016 20:24:36 +0000 (-0500) Subject: bin/lttng: remove double "help" command and sort list X-Git-Tag: v2.10.0-rc1~31 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=7712f784d95ae23c57e0f373ecf5b8b4be7bf1aa;p=lttng-tools.git bin/lttng: remove double "help" command and sort list Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index ecfea53ff..bf2128ca3 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -84,6 +84,7 @@ static struct cmd_struct commands[] = { { "list", cmd_list}, { "load", cmd_load}, { "metadata", cmd_metadata}, + { "regenerate", cmd_regenerate}, { "save", cmd_save}, { "set-session", cmd_set_session}, { "snapshot", cmd_snapshot}, @@ -92,10 +93,8 @@ static struct cmd_struct commands[] = { { "stop", cmd_stop}, { "track", cmd_track}, { "untrack", cmd_untrack}, - { "help", NULL}, { "version", cmd_version}, { "view", cmd_view}, - { "regenerate", cmd_regenerate}, { NULL, NULL} /* Array closure */ };