Skip to content

Commit

Permalink
Document the ALIAS keyword from pkg.conf
Browse files Browse the repository at this point in the history
Fixes: #676
  • Loading branch information
infracaninophile committed Dec 8, 2013
1 parent 651b2fb commit e2350ea
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion pkg/pkg.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
.\" @(#)pkg.1
.\" $FreeBSD$
.\"
.Dd December 2, 2013
.Dd December 15, 2013
.Dt PKG.CONF 5
.Os
.Sh NAME
Expand Down Expand Up @@ -207,6 +207,24 @@ data.
This option exists to facilitate developing
.Cm +MTREE
free package sets.
.It Cm ALIAS: key/value list
Define local aliases for various
.Xr pkg 8
standard command lines.
Whenever the
.Em key
text occurs as a separate
.Sq action
word in a command line of the form
.Nm pkg Em key ... ,
substitute the
.Em value
text verbatim.
The replacement can consist of any sequence of text, which should form
a syntactically correct
.Xr pkg 8
command line when substituted in and followed by any remaining tokens from
the original command line.
.El
.Sh MULTIPLE REPOSITORIES
To use multiple repositories, specify the primary repository as shown above.
Expand Down

0 comments on commit e2350ea

Please sign in to comment.