Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/pacsysclean.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pacsysclean.sh.in')
-rw-r--r--contrib/pacsysclean.sh.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/pacsysclean.sh.in b/contrib/pacsysclean.sh.in
index 37219ab5..36319215 100644
--- a/contrib/pacsysclean.sh.in
+++ b/contrib/pacsysclean.sh.in
@@ -8,9 +8,12 @@ declare -r myver='@PACKAGE_VERSION@'
PACMAN_OPTS=
usage() {
- echo "$myname - Sort installed packages by increasing installed size."
+ echo "${myname} (pacman) v${myver}"
echo
- echo "Usage: $myname [options]"
+ echo "Sort installed packages by increasing installed size. Useful for"
+ echo "system clean-up."
+ echo
+ echo "Usage: ${myname} [options]"
echo
echo "Options:"
echo " -o <options> Specify custom pacman query options (e.g., dt)"
@@ -22,7 +25,6 @@ version() {
echo 'Copyright (C) 2011 Eric BĂ©langer <snowmaniscool@gmail.com>'
}
-
if [ -n "$1" ]; then
case "$1" in
-o) PACMAN_OPTS="${2}" ;;