summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2012-10-15 14:29:07 -0400
committerAllan McRae <allan@archlinux.org>2012-11-27 15:16:15 +1000
commitc4c5b8ba1d191bcde65eb09c9ce30b18c4619a35 (patch)
tree6fb01e55fe4fd1551bb24ceae4cb3744e9f0f9c6
parent6b1deedf15d14e426e5450b759710e8782c22ab3 (diff)
downloadpacman-c4c5b8ba1d191bcde65eb09c9ce30b18c4619a35.tar.xz
pactree: fix --sync getopt value
The long --sync options has apparently never worked. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/util/pactree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/pactree.c b/src/util/pactree.c
index 4488645f..ab5d90a1 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -217,7 +217,7 @@ static int parse_options(int argc, char *argv[])
{"help", no_argument, 0, 'h'},
{"linear", no_argument, 0, 'l'},
{"reverse", no_argument, 0, 'r'},
- {"sync", no_argument, 0, 'S'},
+ {"sync", no_argument, 0, 's'},
{"unique", no_argument, 0, 'u'},
{"config", required_argument, 0, OP_CONFIG},