Simple help output corrections.
This commit is contained in:
parent
c62ad4d691
commit
a7b04e2276
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user