mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
f61f075b1c
This requires an ugly amount of reworking of how pacman-key handles options. The change simply to avoid passing keys, files, and directories as arguments to options, but to leave them as arguments to the overall program. This is reasonable since pacman-key limits the user to essentially one operation per invocation (like pacman). Since we now pass around the positional parameters to the various operations, we can add some better sanity checking. Each operation is responsible for testing input and making sure it can operate properly, otherwise it throws an error and exits. The doc is updated to reflect this, and uses similar verbiage as pacman, describing the non-option arguments now passed to pacman-key as targets. Similar to the doc, --help is reorganized to separate operations and options and remove argument tokens from operations. Signed-off-by: Dave Reisner <dreisner@archlinux.org> |
||
---|---|---|
.. | ||
.gitignore | ||
asciidoc-override.css | ||
asciidoc.conf | ||
Doxyfile | ||
footer.txt | ||
index.txt | ||
libalpm.3.txt | ||
Makefile.am | ||
makepkg.8.txt | ||
makepkg.conf.5.txt | ||
pacman-key.8.txt | ||
pacman.8.txt | ||
pacman.conf.5.txt | ||
PKGBUILD-example.txt | ||
PKGBUILD.5.txt | ||
pkgdelta.8.txt | ||
repo-add.8.txt | ||
submitting-patches.txt | ||
translation-help.txt | ||
vercmp.8.txt |