diff options
author | Jonathan Lebon <jonathan@jlebon.com> | 2020-07-30 17:35:20 -0400 |
---|---|---|
committer | Jonathan Lebon <jonathan@jlebon.com> | 2020-07-31 15:02:47 -0400 |
commit | af140266d5285b8f0a9b15f53ef2176c241b9dbe (patch) | |
tree | ecd7d7df2727d7be7de67e53a056cdc25499eead /src/ostree/ot-builtin-log.c | |
parent | 21c9840d13285d8754e19e6520463beaaaba5476 (diff) | |
download | ostree-af140266d5285b8f0a9b15f53ef2176c241b9dbe.tar.gz |
app: Fix various CLI metavariable names
- Use `REV` instead of `REF` in places where we meant it.
- Fix `commit --parent` actually taking a commit checksum and not a ref.
- Fix `ostree admin switch` using `REF` instead of `REFSPEC`.
Diffstat (limited to 'src/ostree/ot-builtin-log.c')
-rw-r--r-- | src/ostree/ot-builtin-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ostree/ot-builtin-log.c b/src/ostree/ot-builtin-log.c index 306f177b..0a1d408b 100644 --- a/src/ostree/ot-builtin-log.c +++ b/src/ostree/ot-builtin-log.c @@ -95,7 +95,7 @@ ostree_builtin_log (int argc, g_autofree char *checksum = NULL; OstreeDumpFlags flags = OSTREE_DUMP_NONE; - context = g_option_context_new ("REF"); + context = g_option_context_new ("REV"); if (!ostree_option_context_parse (context, options, &argc, &argv, invocation, &repo, cancellable, error)) goto out; @@ -105,7 +105,7 @@ ostree_builtin_log (int argc, if (argc <= 1) { - ot_util_usage_error (context, "A ref argument is required", error); + ot_util_usage_error (context, "A rev argument is required", error); goto out; } rev = argv[1]; |