From: Philippe Proulx Date: Mon, 28 Nov 2016 23:14:55 +0000 (-0500) Subject: Remove `metadata` command from various help resources X-Git-Tag: v2.9.0~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cff761c35521adfea152c81c3a8fb3a8a852f1df;p=lttng-tools.git Remove `metadata` command from various help resources This command is now deprecated. Its own man page remains available and warns the user that it's deprecated and suggests to look at lttng-regenerate(1) instead. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index eebc2fe22..ac176dd1b 100644 --- a/configure.ac +++ b/configure.ac @@ -280,7 +280,6 @@ _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_ENABLE_EVENT], [Create or enable event ru _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_HELP], [Display help information about a command]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_LIST], [List tracing sessions, domains, channels, and events]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_LOAD], [Load tracing session configurations]) -_AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_METADATA], [Manage an LTTng tracing session's metadata generation]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_REGENERATE], [Manage an LTTng tracing session's data regeneration]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_SAVE], [Save tracing session configurations]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_SET_SESSION], [Set current tracing session]) diff --git a/doc/man/asciidoc-attrs.conf.in b/doc/man/asciidoc-attrs.conf.in index 9fff98912..4d727e74a 100644 --- a/doc/man/asciidoc-attrs.conf.in +++ b/doc/man/asciidoc-attrs.conf.in @@ -49,7 +49,6 @@ cmd_descr_enable_event="@CMD_DESCR_ENABLE_EVENT@" cmd_descr_help="@CMD_DESCR_HELP@" cmd_descr_list="@CMD_DESCR_LIST@" cmd_descr_load="@CMD_DESCR_LOAD@" -cmd_descr_metadata="@CMD_DESCR_METADATA@" cmd_descr_regenerate="@CMD_DESCR_REGENERATE@" cmd_descr_save="@CMD_DESCR_SAVE@" cmd_descr_set_session="@CMD_DESCR_SET_SESSION@" diff --git a/doc/man/lttng.1.txt b/doc/man/lttng.1.txt index 23dcc32cb..0b7a532f0 100644 --- a/doc/man/lttng.1.txt +++ b/doc/man/lttng.1.txt @@ -156,9 +156,6 @@ man:lttng-destroy(1):: man:lttng-load(1):: {cmd_descr_load}. -man:lttng-metadata(1):: - {cmd_descr_metadata}. - man:lttng-regenerate(1):: {cmd_descr_regenerate}. diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index 8cf45410e..b3ee24286 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -253,7 +253,6 @@ static void show_basic_help(void) puts(" create " CONFIG_CMD_DESCR_CREATE); puts(" destroy " CONFIG_CMD_DESCR_DESTROY); puts(" load " CONFIG_CMD_DESCR_LOAD); - puts(" metadata " CONFIG_CMD_DESCR_METADATA); puts(" regenerate " CONFIG_CMD_DESCR_REGENERATE); puts(" save " CONFIG_CMD_DESCR_SAVE); puts(" set-session " CONFIG_CMD_DESCR_SET_SESSION);