mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
Changed -O option to -P
Realized -P would make a better option letter.
This commit is contained in:
parent
c07caae18d
commit
558e9179b8
3 changed files with 13 additions and 13 deletions
|
@ -24,7 +24,7 @@ enhancements:
|
|||
evals and conditionals in check_for_updates and info_item.
|
||||
* Fixed a bug which could result in some sources being missed when checking
|
||||
for obsolete sources.
|
||||
* Added a command line option '-O' to access the 'remove uninstalled
|
||||
* Added a command line option '-P' to access the 'remove uninstalled
|
||||
packages' function which had previously only been accessible from the
|
||||
dialog interface.
|
||||
+--------------------------+
|
||||
|
|
|
@ -180,11 +180,6 @@ versions of installed packages.
|
|||
.B -l
|
||||
Display the SBo ChangeLog.txt and quit.
|
||||
|
||||
.TP 5
|
||||
.B -O
|
||||
List the cached package files which are not currently installed on the
|
||||
system and optionally delete them.
|
||||
|
||||
.TP 5
|
||||
.B -o
|
||||
List the currently installed cached source files which are deemed as
|
||||
|
@ -199,6 +194,11 @@ used to identify the obsoleted sources, so if you build packages with
|
|||
different repositories (e.g. for different Slackware versions) the
|
||||
source files only used in the "other" repository will be listed.
|
||||
|
||||
.TP 5
|
||||
.B -P
|
||||
List the cached package files which are not currently installed on the
|
||||
system and optionally delete them.
|
||||
|
||||
.TP 5
|
||||
.B -p
|
||||
List installed SlackBuilds.org packages.
|
||||
|
|
|
@ -4414,7 +4414,7 @@ else
|
|||
fi
|
||||
|
||||
# This is the command line options and help.
|
||||
while getopts ":b:cd:e:f:g:hi:klOopqrRs:uV:v" OPT; do
|
||||
while getopts ":b:cd:e:f:g:hi:kloPpqrRs:uV:v" OPT; do
|
||||
case $OPT in
|
||||
b ) # Build
|
||||
BFLAG=1
|
||||
|
@ -4454,14 +4454,14 @@ while getopts ":b:cd:e:f:g:hi:klOopqrRs:uV:v" OPT; do
|
|||
CHANGELOG=1
|
||||
unset DIAG
|
||||
;;
|
||||
O ) # Show uninstalled packages
|
||||
UNINSTPKG=1
|
||||
unset DIAG
|
||||
;;
|
||||
o ) # Show obsolete sources
|
||||
OBSOLETESRC=1
|
||||
unset DIAG
|
||||
;;
|
||||
P ) # Show uninstalled packages
|
||||
UNINSTPKG=1
|
||||
unset DIAG
|
||||
;;
|
||||
p ) # List installed SBo packages
|
||||
GETPKGS=1
|
||||
unset DIAG
|
||||
|
@ -4511,9 +4511,9 @@ Options are:
|
|||
-i pkg/queue(s) Like '-b', but also install built packages.
|
||||
-k Skip installed packages when building.
|
||||
-l Display the repo's ChangeLog.txt and then quit.
|
||||
-O Display the uninstalled package files & prompt for deletion.
|
||||
-o Display the obsolete source files & prompt for deletion.
|
||||
-p List installed repo's packages.
|
||||
-P List uninstalled cached package files & prompt for deletion.
|
||||
-p List installed packages from active repo.
|
||||
-q Quiet some of the command-line output.
|
||||
-r Sync the remote repository with the local mirror and then
|
||||
quit.
|
||||
|
|
Loading…
Reference in a new issue