diff options
author | Dan McGee <dan@archlinux.org> | 2009-08-24 11:19:26 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-23 22:46:38 -0500 |
commit | 2071286770b3dbe531423aa3e8517dac68f04154 (patch) | |
tree | d6f393817d3fbb3be71218f1bbd294228d62acfa /lib/libalpm | |
parent | 86d4b8a3aad8317ee4f7db9dc0d897a0809c0c04 (diff) | |
download | pacman-2071286770b3dbe531423aa3e8517dac68f04154.tar.xz |
repo-add: clean up options parsing
-f/--force has been dead for a while, so kill it off. In addition, the
check for > 2 args is pretty useless when you do something like:
repo-add -q -q
or a more legit:
repo-add -q /path/to/mine.db.tar.gz
So instead make repo-add just return 1 when it doesn't do anything with
the database which seems to make more sense.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions