diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2014-09-23 15:33:13 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2014-09-25 03:08:06 -0400 |
commit | 9d72ff2d8e72deef9cf9322e76a0d192c653f2d4 (patch) | |
tree | 13b364d06a5c8e27146787c606f795ea87147c48 /src/ostree/ot-builtin-admin.c | |
parent | 1dca5566911a59276242c5e1cc8ea4a611853879 (diff) | |
download | ostree-9d72ff2d8e72deef9cf9322e76a0d192c653f2d4.tar.gz |
Fix help output for nested subcommands
Only 'ostree admin' was appearing in the help message for commands
nested within ostree admin.
https://bugzilla.gnome.org/show_bug.cgi?id=737194
Diffstat (limited to 'src/ostree/ot-builtin-admin.c')
-rw-r--r-- | src/ostree/ot-builtin-admin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ostree/ot-builtin-admin.c b/src/ostree/ot-builtin-admin.c index 533f15f9..ef54797e 100644 --- a/src/ostree/ot-builtin-admin.c +++ b/src/ostree/ot-builtin-admin.c @@ -179,6 +179,8 @@ ostree_builtin_admin (int argc, char **argv, OstreeRepo *repo, GCancellable *can goto out; } + g_set_prgname (g_strdup_printf ("ostree admin %s", subcommand_name)); + sysroot_path = g_file_new_for_path (opt_sysroot); sysroot = ostree_sysroot_new (sysroot_path); if (!subcommand->fn (argc, argv, sysroot, cancellable, error)) |