[ostree] reset: update help output
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] reset: update help output
- Date: Thu, 23 Apr 2015 18:32:55 +0000 (UTC)
commit d801d347f727afc856538f87517a564f963e8f90
Author: Micah Abbott <miabbott redhat com>
Date: Thu Apr 23 14:11:33 2015 -0400
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostree/ot-builtin-reset.c b/src/ostree/ot-builtin-reset.c
index 7165543..c581c92 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];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]