diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2014-11-10 21:28:43 -0500 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2014-11-16 15:52:51 -0500 |
commit | 3a9127f103df3f4574aa441e044447cf36358578 (patch) | |
tree | 83668ede8614475d8ba67a642dd8fa9aa121aafd /src/ostree/ot-builtin-checkout.c | |
parent | f699153f67b1e37310434ffacd14695d2e89745d (diff) | |
download | ostree-3a9127f103df3f4574aa441e044447cf36358578.tar.gz |
Various manpage / usage blurb improvements
Corrections, clarifications, consistency.
Not a comprehensive overhaul of the manpages; they do still need work.
These are just flaws I've noted while studying the ostree command syntax.
https://bugzilla.gnome.org/show_bug.cgi?id=740097
Diffstat (limited to 'src/ostree/ot-builtin-checkout.c')
-rw-r--r-- | src/ostree/ot-builtin-checkout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ostree/ot-builtin-checkout.c b/src/ostree/ot-builtin-checkout.c index fae461f0..3f776192 100644 --- a/src/ostree/ot-builtin-checkout.c +++ b/src/ostree/ot-builtin-checkout.c @@ -42,7 +42,7 @@ static GOptionEntry options[] = { { "union", 0, 0, G_OPTION_ARG_NONE, &opt_union, "Keep existing directories, overwrite existing files", NULL }, { "allow-noent", 0, 0, G_OPTION_ARG_NONE, &opt_allow_noent, "Do nothing if specified path does not exist", NULL }, { "from-stdin", 0, 0, G_OPTION_ARG_NONE, &opt_from_stdin, "Process many checkouts from standard input", NULL }, - { "from-file", 0, 0, G_OPTION_ARG_STRING, &opt_from_file, "Process many checkouts from input file", NULL }, + { "from-file", 0, 0, G_OPTION_ARG_STRING, &opt_from_file, "Process many checkouts from input file", "FILE" }, { NULL } }; @@ -179,7 +179,7 @@ ostree_builtin_checkout (int argc, char **argv, OstreeRepo *repo, GCancellable * gs_free char *resolved_commit = NULL; gs_unref_object GFile *checkout_target = NULL; - context = g_option_context_new ("COMMIT DESTINATION - Check out a commit into a filesystem tree"); + context = g_option_context_new ("COMMIT [DESTINATION] - Check out a commit into a filesystem tree"); g_option_context_add_main_entries (context, options, NULL); if (!g_option_context_parse (context, &argc, &argv, error)) |