about summary refs log tree commit diff
path: root/xpkg
diff options
context:
space:
mode:
authorMohammed Anas <triallax@tutanota.com>2023-10-16 18:06:31 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-10-16 21:18:15 +0200
commita3742437505609e847ba7e59c60ea395e708e729 (patch)
treec26a93b514f0582ac5775c6d084247633ced6e1e /xpkg
parent7906fe8ef70e5560b67c8ae8a6a282742910c9bf (diff)
downloadxtools-a3742437505609e847ba7e59c60ea395e708e729.tar.gz
xtools-a3742437505609e847ba7e59c60ea395e708e729.tar.xz
xtools-a3742437505609e847ba7e59c60ea395e708e729.zip
xpkg: document -r option
Diffstat (limited to 'xpkg')
-rwxr-xr-xxpkg23
1 files changed, 12 insertions, 11 deletions
diff --git a/xpkg b/xpkg
index 28d734a..8dac78b 100755
--- a/xpkg
+++ b/xpkg
@@ -1,5 +1,5 @@
 #!/bin/bash
-# xpkg [-RamOHDLvV] - convenient package lister
+# xpkg [-rRamOHDLvV] - convenient package lister
 
 flags=
 filter0='/^.[^i*].\? /d'
@@ -17,16 +17,17 @@ while getopts R:r:vVmOHDLa flag; do
 		a) flags="$flags -R"; filter0=;;
 		v) filter2='s/:\? .*//';;
 		V) filter2=;;
-		?) printf "Usage: %s [-RamOHvV]
-  -R REPO  consider only packages from REPO
-  -a       list all packages (default: only installed)
-  -m	   list manual packages
-  -O       list orphaned packages
-  -H       list packages on hold
-  -D       list installed packages not in repo
-  -L       list installed packages not from remote repos
-  -v       show version numbers
-  -V       show version numbers and description
+		?) printf "Usage: %s [-rRamOHvV]
+  -r ROOTDIR specifies a full path for the target root directory
+  -R REPO    consider only packages from REPO
+  -a         list all packages (default: only installed)
+  -m         list manual packages
+  -O         list orphaned packages
+  -H         list packages on hold
+  -D         list installed packages not in repo
+  -L         list installed packages not from remote repos
+  -v         show version numbers
+  -V         show version numbers and description
 " $0 >&2
 		exit 1;;
 	esac