From 8c7190b7049112d4a3fb5b9d4f43ab5036a2b2de Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 28 Nov 2016 18:14:55 -0500 Subject: [PATCH] Remove `metadata` command from various help resources MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- configure.ac | 1 - doc/man/asciidoc-attrs.conf.in | 1 - doc/man/lttng.1.txt | 3 --- src/bin/lttng/lttng.c | 1 - 4 files changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 1e86f0fca..8b2decc71 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); -- 2.34.1