diff options
author | Ross Burton <ross.burton@intel.com> | 2013-11-26 17:18:25 +0000 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2013-11-28 15:27:04 +0900 |
commit | a5fd7912ff8c7bc72d2cdbd0038c7ff0c968831f (patch) | |
tree | 48b2d667454a94928723c2b96f47e0b5d64c9847 /fc-cache | |
parent | 38acb08d9778ebad2bfc3407532adf8f2e8e667e (diff) |
fc-cache: --sysroot option takes an argument
The getopt_long option definitions say that sysroot doesn't take an argument,
when it in fact does.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 27c75130..bf3b6b48 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -67,7 +67,7 @@ const struct option longopts[] = { {"force", 0, 0, 'f'}, {"really-force", 0, 0, 'r'}, - {"sysroot", 0, 0, 'y'}, + {"sysroot", required_argument, 0, 'y'}, {"system-only", 0, 0, 's'}, {"version", 0, 0, 'V'}, {"verbose", 0, 0, 'v'}, |