usage:  pacman {-S --sync} [options] [package(s)]
options:
  -b, --dbpath <path>  set an alternate database location
  -c, --clean          remove old packages from cache directory (-cc for all)
  -d, --nodeps         skip dependency version checks (-dd to skip all checks)
  -g, --groups         view all members of a package group
                       (-gg to view all groups and members)
  -i, --info           view package information (-ii for extended information)
  -l, --list <repo>    view a list of packages in a repo
  -p, --print          print the targets instead of performing the operation
  -q, --quiet          show less information for query and search
  -r, --root <path>    set an alternate installation root
  -s, --search <regex> search remote repositories for matching strings
  -u, --sysupgrade     upgrade installed packages (-uu enables downgrades)
  -v, --verbose        be verbose
  -w, --downloadonly   download packages but do not install/upgrade anything
  -y, --refresh        download fresh package databases from the server
                       (-yy to force a refresh even if up to date)
      --arch <arch>    set an alternate architecture
      --asdeps         install packages as non-explicitly installed
      --asexplicit     install packages as explicitly installed
      --assume-installed <package=version>
                       add a virtual package to satisfy dependencies
      --cachedir <dir> set an alternate package cache location
      --color <when>   colorize the output
      --config <path>  set an alternate configuration file
      --confirm        always ask for confirmation
      --dbonly         only modify database entries, not package files
      --debug          display debug messages
      --force          force install, overwrite conflicting files
      --gpgdir <path>  set an alternate home directory for GnuPG
      --ignore <pkg>   ignore a package upgrade (can be used more than once)
      --ignoregroup <grp>
                       ignore a group upgrade (can be used more than once)
      --logfile <path> set an alternate log file
      --needed         do not reinstall up to date packages
      --noconfirm      do not ask for any confirmation
      --noprogressbar  do not show a progress bar when downloading files
      --noscriptlet    do not execute the install scriptlet if one exists
      --print-format <string>
                       specify how the targets should be printed
usage: pkgbuilder [-h] [-V] [-F] [--userfetch USER] [-i] [-s] [-u] [-U] [-c]
                  [-C] [--debug] [-d] [-D] [-v] [-w] [--skippgpcheck] [-S]
                  [-y]
                  [PACKAGE [PACKAGE ...]]

An AUR helper (and library) in Python 3.

positional arguments:
  PACKAGE             AUR/ABS packages to build

optional arguments:
  -h, --help          show this help message and exit
  -V, --version       show version number and quit

operations:
  -F, --fetch         fetch package files
  --userfetch USER    fetch all package files of an user
  -i, --info          view package information
  -s, --search        search the AUR for matching strings
  -u, --sysupgrade    upgrade installed AUR packages
  -U, --upgrade       copy package files to pacman cache and install them

options:
  -c, --clean         clean up work files before and after build
  -C, --nocolors      don't use colors in output
  --debug             display debug messages
  -d, --nodepcheck    don't check dependencies (may break makepkg)
  -D, --vcsupgrade    upgrade all the VCS/date-versioned packages
  -v, --novalidation  don't check if packages were installed after build
  -w, --buildonly     don't install packages after building
  --skippgpcheck      do not verify source files with PGP signatures
  -S, --sync          pacman-like mode
  -y, --refresh       (dummy)

Also accepting ABS packages.
