pactree: Add "--config" option
commitfb401f569e2d85cf90e45deeeeb28992360d60f7
authorLukas Fleischer <archlinux@cryptocrack.de>
Mon, 10 Oct 2011 12:38:59 +0000 (10 14:38 +0200)
committerDan McGee <dan@archlinux.org>
Tue, 11 Oct 2011 00:09:12 +0000 (10 19:09 -0500)
treea5c91267e2e5b005597da88203de0488ed1e464a
parent36f31dd133a6833f641823c3e3c12b0c0edca877
pactree: Add "--config" option

This allows for specifying an alternate configuration file path, similar
to pacman's "--config" option.

Given that there is currently no other way to tell pactree to read from
another configuration file (except for patching or symlinking), this
seems totally sensible - even if there are plans to refactor and/or
replace the standalone configuration file parser.

We do not define a short option for the sake of consistency with
pacman's set of command line options.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
src/util/pactree.c