diff --git a/README.md b/README.md index acc6695..65a9b67 100644 --- a/README.md +++ b/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] - Flags: - -h Show this message. - -s Search for . - -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] +Flags: + -h Show this message. + -s Search for . + -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 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`. diff --git a/zpac b/zpac index 0127e52..6fee41a 100755 --- a/zpac +++ b/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 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 }