Document --index-first for version 2.23

This commit is contained in:
Doug Barton 2010-05-01 03:59:53 +00:00
parent 14242d555c
commit 35e294816e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253495
3 changed files with 13 additions and 6 deletions

View File

@ -11,7 +11,7 @@ _portmaster () {
--check-port-dbdir --list-origins --packages --packages-only \
--packages-build --packages-if-newer --delete-build-only \
--always-fetch --local-packagedir= --packages-delete \
--no-confirm --no-term-title --index --index-only \
--no-confirm --no-term-title --index --index-first --index-only \
--help --version' -- $cur ) )
;;
*) COMPREPLY=( $( compgen -d /var/db/pkg/$cur ) )

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd April 9, 2010
.Dd May 1, 2010
.Dt PORTMASTER 8
.Os
.Sh NAME
@ -41,7 +41,7 @@ Common Flags:
.Op Fl -delete-packages
.Op Fl -no-confirm
.Op Fl -no-term-title
.Op --index|--index-only
.Op --index|--index-first|--index-only
.Op Fl m Ar arguments for make
.Op Fl x Ar glob pattern to exclude from building
.Nm
@ -433,7 +433,9 @@ be installed and/or updated before proceeding
.It Fl -no-term-title
do not update the xterm title bar
.It Fl -index
use INDEX-[6-9] to check if a port is out of date
use INDEX-[6-9] exclusively to check if a port is up to date
.It Fl -index-first
use the INDEX for status, but double-check with the port
.It Fl -index-only
do not try to use
.Pa /usr/ports .
@ -658,9 +660,13 @@ along with their related options.
# Do not update the xterm title bar (--no-term-title)
# PM_NO_TERM_TITLE=pm_no_term_title
#
# Use the INDEX file to check if a port is out of date (--index)
# Use only the INDEX file to check if a port is out of date (--index)
# PM_INDEX=pm_index
#
# Use the INDEX file first, then check /usr/ports (--index-first)
# PM_INDEX=pm_index
# PM_INDEX_FIRST=pm_index_first
#
# Use the INDEX file instead of /usr/ports (--index-only)
# PM_INDEX=pm_index
# PM_INDEX_ONLY=pm_index_only

View File

@ -25,7 +25,8 @@ _arguments -A "-*" : \
"-x[avoid building or updating ports that match this pattern]:glob pattern to exclude from building:->pkgs" \
"--no-confirm[do not ask user to confirm list of ports to be installed and/or updated before proceeding]" \
"--no-term-title[do not update the xterm title bar]" \
"--index[use INDEX to check if a port is out of date]" \
"--index[use INDEX exclusively to check if a port is up to date]" \
"--index-first[use the INDEX for status, but double-check with the port]" \
"--index-only[do not try to use /usr/ports]" \
"--show-work[list what ports are and would be installed]" \
"-o[replace the installed port with a port from a different origin]:new port dir in /usr/ports:->ports" \