mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-30 10:50:31 +03:00
admin: Fix list of subcommands in help and manpage
This adds subcommands that were missing from the ostree-admin man page, and makes cosmetic fixes there and in the --help output to ensure alphabetical order and remove trailing whitespace. Closes: #1621 Approved by: jlebon
This commit is contained in:
parent
ecdebeb20e
commit
c767f7b739
@ -73,11 +73,13 @@ Boston, MA 02111-1307, USA.
|
||||
<listitem><para><command>init-fs</command></para></listitem>
|
||||
<listitem><para><command>instutil</command></para></listitem>
|
||||
<listitem><para><command>os-init</command></para></listitem>
|
||||
<listitem><para><command>status</command></para></listitem>
|
||||
<listitem><para><command>pin</command></para></listitem>
|
||||
<listitem><para><command>set-origin</command></para></listitem>
|
||||
<listitem><para><command>status</command></para></listitem>
|
||||
<listitem><para><command>switch</command></para></listitem>
|
||||
<listitem><para><command>undeploy</command></para></listitem>
|
||||
<listitem><para><command>upgrade</command></para></listitem>
|
||||
<listitem><para><command>unlock</command></para></listitem>
|
||||
<listitem><para><command>upgrade</command></para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
|
@ -42,6 +42,9 @@ static OstreeCommand admin_subcommands[] = {
|
||||
{ "deploy", OSTREE_BUILTIN_FLAG_NO_REPO,
|
||||
ot_admin_builtin_deploy,
|
||||
"Checkout revision REFSPEC as the new default deployment" },
|
||||
{ "finalize-staged", OSTREE_BUILTIN_FLAG_NO_REPO | OSTREE_BUILTIN_FLAG_HIDDEN,
|
||||
ot_admin_builtin_finalize_staged,
|
||||
"Internal command to run at shutdown time" },
|
||||
{ "init-fs", OSTREE_BUILTIN_FLAG_NO_REPO,
|
||||
ot_admin_builtin_init_fs,
|
||||
"Initialize a root filesystem" },
|
||||
@ -51,15 +54,12 @@ static OstreeCommand admin_subcommands[] = {
|
||||
{ "os-init", OSTREE_BUILTIN_FLAG_NO_REPO,
|
||||
ot_admin_builtin_os_init,
|
||||
"Initialize empty state for given operating system" },
|
||||
{ "set-origin", OSTREE_BUILTIN_FLAG_NO_REPO,
|
||||
ot_admin_builtin_set_origin,
|
||||
"Set Origin and create a new origin file" },
|
||||
{ "pin", OSTREE_BUILTIN_FLAG_NO_REPO,
|
||||
ot_admin_builtin_pin,
|
||||
"Change the \"pinning\" state of a deployment" },
|
||||
{ "finalize-staged", OSTREE_BUILTIN_FLAG_NO_REPO | OSTREE_BUILTIN_FLAG_HIDDEN,
|
||||
ot_admin_builtin_finalize_staged,
|
||||
"Internal command to run at shutdown time" },
|
||||
{ "set-origin", OSTREE_BUILTIN_FLAG_NO_REPO,
|
||||
ot_admin_builtin_set_origin,
|
||||
"Set Origin and create a new origin file" },
|
||||
{ "status", OSTREE_BUILTIN_FLAG_NO_REPO,
|
||||
ot_admin_builtin_status,
|
||||
"List deployments" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user