Mention -F and -f options

This commit is contained in:
Igor Pashev 2013-01-02 17:36:05 +04:00
parent 6e4a14c6a3
commit 52fa0c7dd1
2 changed files with 57 additions and 7 deletions

View File

@ -24,11 +24,17 @@ _bootadm () {
esac
case "$line" in
*-archive*-R*)
COMPREPLY=( $(compgen -W "-v -n -f -p" -- $cur) )
*update-archive*-R*)
COMPREPLY=( $(compgen -W "-v -n -f -F -p" -- $cur) )
;;
*-archive*)
COMPREPLY=( $(compgen -W "-v -n -f -R" -- $cur) )
*update-archive*)
COMPREPLY=( $(compgen -W "-v -n -f -F -R" -- $cur) )
;;
*list-archive*-R*)
COMPREPLY=( $(compgen -W "-p" -- $cur) )
;;
*list-archive*)
COMPREPLY=( $(compgen -W "-R" -- $cur) )
;;
*set-menu*-R*)
COMPREPLY=( $(compgen -W "default= timeout=" -- $cur) )

View File

@ -1,7 +1,22 @@
Index: bootadm/usr/src/man/man1m/bootadm.1m
===================================================================
--- bootadm.orig/usr/src/man/man1m/bootadm.1m 2013-01-02 16:34:16.331123604 +0400
+++ bootadm/usr/src/man/man1m/bootadm.1m 2013-01-02 16:37:47.349491218 +0400
--- bootadm.orig/usr/src/man/man1m/bootadm.1m 2012-10-08 04:25:45.000000000 +0400
+++ bootadm/usr/src/man/man1m/bootadm.1m 2013-01-02 17:34:21.582654522 +0400
@@ -9,12 +9,12 @@
.SH SYNOPSIS
.LP
.nf
-\fB/sbin/bootadm\fR update-archive [\fB-vn\fR] [\fB-R\fR \fIaltroot\fR [\fB-p\fR \fIplatform\fR]]
+\fB/sbin/bootadm\fR update-archive [\fB-v\fR] [\fB-n\fR] [\fB-F\fR] [\fB-f\fR] [\fB-R\fR \fIaltroot\fR [\fB-p\fR \fIplatform\fR]]
.fi
.LP
.nf
-\fB/sbin/bootadm\fR list-archive [\fB-vn\fR] [\fB-R\fR \fIaltroot\fR [\fB-p\fR \fIplatform\fR]]
+\fB/sbin/bootadm\fR list-archive [\fB-R\fR \fIaltroot\fR [\fB-p\fR \fIplatform\fR]]
.fi
.LP
@@ -24,12 +24,12 @@
.LP
@ -17,7 +32,36 @@ Index: bootadm/usr/src/man/man1m/bootadm.1m
.fi
.SH DESCRIPTION
@@ -239,9 +239,9 @@
@@ -136,6 +136,28 @@
.sp
.ne 2
.na
+\fB\fB-f\fR\fR
+.ad
+.sp .6
+.RS 4n
+In an \fBupdate-archive\fR operation, force creating boot archive from the cache
+updated.
+.RE
+
+.sp
+.ne 2
+.na
+\fB\fB-F\fR\fR
+.ad
+.sp .6
+.RS 4n
+In an \fBupdate-archive\fR operation, purge the cache and create boot archive
+updated.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fB-p\fR \fIplatform\fR\fR
.ad
.sp .6
@@ -239,9 +261,9 @@
default=0
timeout=10