Sort subcommands alphabetically

This change causes the subcommands to be sorted alphabetically when
'rpm-ostree' is invoked without an argument or with '--help'.  This
matches the behavior of the 'ostree' command.
This commit is contained in:
Micah Abbott 2015-07-15 14:53:26 -04:00
parent c689c6a439
commit a5a2b90dad

View File

@ -36,11 +36,11 @@ static RpmOstreeCommand commands[] = {
#ifdef HAVE_COMPOSE_TOOLING
{ "compose", rpmostree_builtin_compose },
#endif
{ "upgrade", rpmostree_builtin_upgrade },
{ "db", rpmostree_builtin_db },
{ "rebase", rpmostree_builtin_rebase },
{ "rollback", rpmostree_builtin_rollback },
{ "status", rpmostree_builtin_status },
{ "db", rpmostree_builtin_db },
{ "upgrade", rpmostree_builtin_upgrade },
{ NULL }
};