From d801d347f727afc856538f87517a564f963e8f90 Mon Sep 17 00:00:00 2001 From: Micah Abbott Date: Thu, 23 Apr 2015 14:11:33 -0400 Subject: [PATCH] reset: update help output The inline help for 'ostree reset' now correctly shows that it requires a REF and a COMMIT as arguments. --- src/ostree/ot-builtin-reset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ostree/ot-builtin-reset.c b/src/ostree/ot-builtin-reset.c index 71655438..c581c92a 100644 --- a/src/ostree/ot-builtin-reset.c +++ b/src/ostree/ot-builtin-reset.c @@ -63,7 +63,7 @@ ostree_builtin_reset (int argc, gs_free gchar *current = NULL; gs_free gchar *checksum = NULL; - context = g_option_context_new ("[ARG] - Reset a ref to a previous commit"); + context = g_option_context_new ("REF COMMIT - Reset a REF to a previous COMMIT"); if (!ostree_option_context_parse (context, options, &argc, &argv, OSTREE_BUILTIN_FLAG_NONE, &repo, cancellable, error)) goto out; @@ -73,7 +73,7 @@ ostree_builtin_reset (int argc, if (argc <= 2) { - ot_util_usage_error (context, "A ref and commit argument is required", error); + ot_util_usage_error (context, "A REF and COMMIT argument is required", error); goto out; } ref = argv[1];