bectl(8): sync man page and help text

Sync man page with behavior of bectl(8).

Sync help text with man page.

PR:             246697
Reported by:	olgeni
Submitted by:   olgeni (with changes)
Reviewed by:    kevans, olgeni
Approved by:    kevans (mentor)
MFC after:      1 week
Differential Revision:	https://reviews.freebsd.org/D27482
This commit is contained in:
Robert Wing 2021-01-06 10:38:25 -09:00
parent 439862883f
commit b1ea63e2e3
2 changed files with 9 additions and 11 deletions

View File

@ -17,7 +17,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd August 25, 2020
.Dd January 6, 2021
.Dt BECTL 8
.Os
.Sh NAME
@ -71,8 +71,7 @@
.Ar newBeName
.Nm
.Brq Cm ujail | unjail
.Brq Ar jailId | jailName
.Ar beName
.Brq Ar jailId | jailName | beName
.Nm
.Brq Cm umount | unmount
.Op Fl f
@ -256,7 +255,7 @@ generated by
All default parameters may be overwritten.
.It Xo
.Cm list
.Op Fl DHas
.Op Fl aDHs
.Oo Bro Fl c Ar property | Fl C Ar property Brc Oc
.Xc
.Pp
@ -321,8 +320,8 @@ Rename the given
to the given
.Ar newBeName .
The boot environment will not be unmounted in order for this rename to occur.
.It Cm ujail Bro Ar jailId | jailName Brc Ar beName
.It Cm unjail Bro Ar jailId | jailName Brc Ar beName
.It Cm ujail Brq Ar jailId | jailName | beName
.It Cm unjail Brq Ar jailId | jailName | beName
Destroy the jail created from the given boot environment.
.It Xo
.Cm umount

View File

@ -81,13 +81,12 @@ usage(bool explicit)
"\tbectl destroy [-Fo] {beName | beName@snapshot}\n"
"\tbectl export sourceBe\n"
"\tbectl import targetBe\n"
"\tbectl jail {-b | -U} [{-o key=value | -u key}]... "
"{jailID | jailName}\n"
"\t bootenv [utility [argument ...]]\n"
"\tbectl list [-DHas] [{-c property | -C property}]\n"
"\tbectl jail [-bU] [{-o key=value | -u key}]... beName\n"
"\t [utility [argument ...]]\n"
"\tbectl list [-aDHs] [{-c property | -C property}]\n"
"\tbectl mount beName [mountpoint]\n"
"\tbectl rename origBeName newBeName\n"
"\tbectl {ujail | unjail} {jailID | jailName} bootenv\n"
"\tbectl {ujail | unjail} {jailID | jailName | beName}\n"
"\tbectl {umount | unmount} [-f] beName\n");
return (explicit ? 0 : EX_USAGE);