From a7b04e2276eaa5b1066364c59842452150fbeb48 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 23 Nov 2014 21:26:28 -0500 Subject: [PATCH] Simple help output corrections. --- src/rpmostree-builtin-rebase.c | 4 ++-- src/rpmostree-builtin-rpm.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpmostree-builtin-rebase.c b/src/rpmostree-builtin-rebase.c index 149e3975..1684413c 100644 --- a/src/rpmostree-builtin-rebase.c +++ b/src/rpmostree-builtin-rebase.c @@ -46,7 +46,7 @@ rpmostree_builtin_rebase (int argc, GError **error) { gboolean ret = FALSE; - GOptionContext *context = g_option_context_new ("- Switch to a different tree"); + GOptionContext *context = g_option_context_new ("REFSPEC - Switch to a different tree"); const char *new_provided_refspec; gs_unref_object OstreeSysroot *sysroot = NULL; gs_unref_object OstreeRepo *repo = NULL; @@ -73,7 +73,7 @@ rpmostree_builtin_rebase (int argc, if (argc < 2) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - "REF must be specified"); + "REFSPEC must be specified"); goto out; } diff --git a/src/rpmostree-builtin-rpm.c b/src/rpmostree-builtin-rpm.c index 84c8b617..21794cd0 100644 --- a/src/rpmostree-builtin-rpm.c +++ b/src/rpmostree-builtin-rpm.c @@ -50,7 +50,7 @@ static char *opt_repo; static char *opt_rpmdbdir; static GOptionEntry option_entries[] = { - { "format", 'F', 0, G_OPTION_ARG_STRING, &opt_format, "Format to output in", "FORMAT" }, + { "format", 'F', 0, G_OPTION_ARG_STRING, &opt_format, "Output format: \"diff\" or (default) \"block\"", "FORMAT" }, { "repo", 'r', 0, G_OPTION_ARG_STRING, &opt_repo, "Path to OSTree repository", "REPO" }, { "rpmdbdir", 0, 0, G_OPTION_ARG_STRING, &opt_rpmdbdir, "Working directory", "WORKDIR" }, { NULL }