diff options
author | Jakob Gruber <jakob.gruber@gmail.com> | 2010-10-08 22:59:30 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-11 20:57:36 -0500 |
commit | 5fcb005ebd270c1ecff3403695680145253961a2 (patch) | |
tree | c48eba823a4ab1ac7b77d5c9268be0c0d1371d64 /doc/pacman.8.txt | |
parent | 827258f32ee898ed5422bc9219d9a42bd9bd2360 (diff) | |
download | pacman-5fcb005ebd270c1ecff3403695680145253961a2.tar.xz |
CLI args: stricter/better parsing
In the following, the letters SRUDQ refer to the corresponding pacman
operations.
Most of the work in this commit is about removing as many options as
possible from the global section and moving them to where they actually
belong.
Additionally, --ignore{,group} are added to U and --dbonly is added
to S.
--dbonly added to S
--asdeps moved to S/U/D
--asexplicit moved to S/U/D
--print-format moved to S/U/R
--noprogressbar moved to S/U/R
--noscriptlet moved to S/U/R
--ignorepkg added to U
--ignoregrp added to U
-d moved to S/U/R (--nodeps) and Q (--deps)
-p moved to S/U/R (--print) and Q (--file)
-f moved to S/U
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/pacman.8.txt')
-rw-r--r-- | doc/pacman.8.txt | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index 2656fc70..ec2a7546 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -158,6 +158,16 @@ Options *\--config* <'file'>:: Specify an alternate configuration file. +*\--ignore* <'package'>:: + Directs pacman to ignore upgrades of package even if there is one + available. Multiple packages can be specified by separating them + with a comma. + +*\--ignoregroup* <'group'>:: + Directs pacman to ignore upgrades of all packages in 'group' even if + there is one available. Multiple groups can be specified by + separating them with a comma. + *\--logfile* <'file'>:: Specify an alternate log file. This is an absolute path, regardless of the installation root setting. @@ -321,6 +331,10 @@ linkman:pacman.conf[5]. or '-i' flags will also display those packages in all repositories that depend on this package. +*-k, \--dbonly*:: + Adds the database entries for the specified packages but does not install any + of the files. + *-l, \--list*:: List all packages in the specified repositories. Multiple repositories can be specified on the command line. @@ -365,21 +379,11 @@ linkman:pacman.conf[5]. *\--needed*:: Don't reinstall the targets that are already up-to-date. -*\--ignore* <'package'>:: - Directs pacman to ignore upgrades of package even if there is one - available. Multiple packages can be specified by separating them - with a comma. - -*\--ignoregroup* <'group'>:: - Directs pacman to ignore upgrades of all packages in 'group' even if - there is one available. Multiple groups can be specified by - separating them with a comma. - Upgrade Options[[UO]] -------------------- *-k, \--dbonly*:: - Adds the database entries for the specified packages but do not install any + Adds the database entries for the specified packages but does not install any of the files. On an upgrade operation, the existing package and all files will be removed and the database entry for the new package will be added. |