README
This commit is contained in:
parent
9e15b8200e
commit
8591081269
10
README.md
10
README.md
|
@ -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:
|
||||
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.
|
||||
-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
4
zpac
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user