From ec0753ffe05241966d9042431f63f0241c81596e Mon Sep 17 00:00:00 2001 From: Larry Price Date: Mon, 3 Oct 2016 15:08:14 -0400 Subject: [PATCH 1/2] Replace refresh-index with refresh in help text --- tools/appstream-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/appstream-cli.c b/tools/appstream-cli.c index e73ddda5..bb8a9f99 100644 --- a/tools/appstream-cli.c +++ b/tools/appstream-cli.c @@ -543,7 +543,7 @@ as_client_get_summary () g_string_append_printf (string, " %s - %s\n", "VALUE", _("Value of the item that should be found.")); g_string_append (string, "\n"); g_string_append_printf (string, " %s - %s\n", "dump COMPONENT-ID", _("Dump raw XML metadata for a component matching the ID.")); - g_string_append_printf (string, " %s - %s\n", "refresh-index ", _("Rebuild the component metadata cache.")); + g_string_append_printf (string, " %s - %s\n", "refresh ", _("Rebuild the component metadata cache.")); g_string_append (string, "\n"); g_string_append_printf (string, " %s - %s\n", "validate FILE ", _("Validate AppStream XML files for issues.")); g_string_append_printf (string, " %s - %s\n", "validate-tree DIRECTORY", _("Validate an installed file-tree of an application for valid metadata.")); From 05d64fa8cd682e38d232377c09ca6919eed42f66 Mon Sep 17 00:00:00 2001 From: Larry Price Date: Mon, 3 Oct 2016 16:50:58 -0400 Subject: [PATCH 2/2] Use refresh-cache instead of generic refresh --- tools/appstream-cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/appstream-cli.c b/tools/appstream-cli.c index bb8a9f99..d3870ecb 100644 --- a/tools/appstream-cli.c +++ b/tools/appstream-cli.c @@ -543,7 +543,7 @@ as_client_get_summary () g_string_append_printf (string, " %s - %s\n", "VALUE", _("Value of the item that should be found.")); g_string_append (string, "\n"); g_string_append_printf (string, " %s - %s\n", "dump COMPONENT-ID", _("Dump raw XML metadata for a component matching the ID.")); - g_string_append_printf (string, " %s - %s\n", "refresh ", _("Rebuild the component metadata cache.")); + g_string_append_printf (string, " %s - %s\n", "refresh-cache ", _("Rebuild the component metadata cache.")); g_string_append (string, "\n"); g_string_append_printf (string, " %s - %s\n", "validate FILE ", _("Validate AppStream XML files for issues.")); g_string_append_printf (string, " %s - %s\n", "validate-tree DIRECTORY", _("Validate an installed file-tree of an application for valid metadata."));