summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-admin.c
diff options
context:
space:
mode:
authorAnne LoVerso <aelv13@gmail.com>2014-06-17 15:24:08 -0400
committerColin Walters <walters@verbum.org>2014-06-23 16:02:37 -0400
commit9cb9a31b4f516d01370ccfcfc1213d558ac0f441 (patch)
tree40af3ba363433f0057383d40be3f131c6a4f333b /src/ostree/ot-builtin-admin.c
parent40f99f764e9c7be5e4ee49fdcf7cf1af1b4afa2d (diff)
downloadostree-9cb9a31b4f516d01370ccfcfc1213d558ac0f441.tar.gz
manpage: Add separate manpages for each command
Using docker as a model, this update creates separate manpages for each OSTree command, such that the main manpage is not cluttered and the separate pages can provide more in-depth detail and exanples that might be useful to a user. Each page includes synopsis, description, example, and a list of options if needd. This update also alphabetizes the usage error output for ostree and ostree admin so that it matches the list on the manpage.
Diffstat (limited to 'src/ostree/ot-builtin-admin.c')
-rw-r--r--src/ostree/ot-builtin-admin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ostree/ot-builtin-admin.c b/src/ostree/ot-builtin-admin.c
index 9da8f77b..f7dce93a 100644
--- a/src/ostree/ot-builtin-admin.c
+++ b/src/ostree/ot-builtin-admin.c
@@ -38,16 +38,16 @@ typedef struct {
} OstreeAdminCommand;
static OstreeAdminCommand admin_subcommands[] = {
- { "os-init", ot_admin_builtin_os_init },
+ { "cleanup", ot_admin_builtin_cleanup },
+ { "config-diff", ot_admin_builtin_diff },
+ { "deploy", ot_admin_builtin_deploy },
{ "init-fs", ot_admin_builtin_init_fs },
{ "instutil", ot_admin_builtin_instutil },
- { "deploy", ot_admin_builtin_deploy },
- { "undeploy", ot_admin_builtin_undeploy },
- { "upgrade", ot_admin_builtin_upgrade },
- { "cleanup", ot_admin_builtin_cleanup },
+ { "os-init", ot_admin_builtin_os_init },
{ "status", ot_admin_builtin_status },
{ "switch", ot_admin_builtin_switch },
- { "config-diff", ot_admin_builtin_diff },
+ { "undeploy", ot_admin_builtin_undeploy },
+ { "upgrade", ot_admin_builtin_upgrade },
{ NULL, NULL }
};