From 5fcb005ebd270c1ecff3403695680145253961a2 Mon Sep 17 00:00:00 2001 From: Jakob Gruber Date: Fri, 8 Oct 2010 22:59:30 +0200 Subject: 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 Signed-off-by: Dan McGee --- doc/pacman.8.txt | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3-24-g4f1b