This commit is contained in:
Jack L. Frost 2015-02-09 19:37:55 +03:00
parent 9e15b8200e
commit 8591081269
2 changed files with 9 additions and 13 deletions

View File

@ -2,15 +2,15 @@ zpac
----
A very simple AUR/ABS helper. Doesn't build packages, only gets the sources.
$ zpac -h
Usage: zpac [flags] <package>
Flags:
-h Show this message.
-s Search for <package>.
-S Search only in the sync db. Implies -s.
-A Search only in AUR. Implies -s.
-d Get the package sources (default).
-D Get the dependencies also. Implies -d.
Usage: zpac [flags] <package>
Flags:
-h Show this message.
-s Search for <package>.
-S Search only in the sync db. Implies -s.
-A Search only in AUR. Implies -s.
-d Get the package sources (default). Set twice to also get the dependencies.
-f Force downloading package sources even if they are already present in the working directory.
-w <dir> Set the working directory.
You can override any value in the script in \$HOME/.config/zpac.rc.sh
By default zpac downloads the sources into the current directory. Controlled by `$cfg_workdir`.

4
zpac
View File

@ -23,10 +23,6 @@ usage() {
-d Get the package sources (default). Set twice to also get the dependencies.
-f Force downloading package sources even if they are already present in the working directory.
-w <dir> Set the working directory.
Warning! Due to how the argument handling works, you can do this:
$ zpac -wdd /tmp/workdir package
Where /tmp/workdir is an argument to w. Don't do this. But it works, unfortunately.
EOF
}