summaryrefslogtreecommitdiff
path: root/man/1
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-26 18:56:00 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-26 18:56:00 +0100
commit40cb22fb40e01f92fc4d7511e23ca1a3c21ae29c (patch)
treeb0799abe1d5d4332547a6a2172a5223131c99f2c /man/1
parentefe7708a906daf792316559959c789f2d7f85fa6 (diff)
pkg: Added commandline options
No completion for now, though, since something does not quite work there
Diffstat (limited to 'man/1')
-rw-r--r--man/1/pkg32
1 files changed, 31 insertions, 1 deletions
diff --git a/man/1/pkg b/man/1/pkg
index 7733692..a6dfe05 100644
--- a/man/1/pkg
+++ b/man/1/pkg
@@ -6,7 +6,7 @@ pkg - Package maintenance utility
=head1 SYNOPSIS
-B<pkg> I<action> [ I<arguments> ]
+B<pkg> [I<options>] I<action> [I<arguments>]
=head1 DESCRIPTION
@@ -81,6 +81,36 @@ If no argument is given, updates all installed packages
=back
+=head1 OPTIONS
+
+B<pkg> accepts both long and short options.
+Options marked as [boolean] may be negated,
+the short options by using '+' instead of '-' as prefix (like '+au'),
+the long options by prepending a 'no', like '--no-auto-update'.
+
+Options always override the configuration file and the environment variables.
+
+=over
+
+=item B<-q>, B<--quiet> [boolean]
+
+Enable quiet mode, don't print progress. Useful for scripting
+
+=item B<-au>, B<--auto-update> [boolean]
+
+Automatically update the package list before doing certain actions
+
+=item B<-co>, B<--checklinks-options> I<option>
+
+Append I<option> to the options checklinks is invoked with.
+Only one option is allowed. To append more options, repeat the argument
+
+=item B<-p>, B<--package-dir> I<directory>
+
+Use I<directory> as local package directory
+
+=back
+
=head1 FILES
=over