summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2012-10-15 20:29:07 +0200
committerAllan McRae <allan@archlinux.org>2012-11-27 06:16:15 +0100
commitc4c5b8ba1d191bcde65eb09c9ce30b18c4619a35 (patch)
tree6fb01e55fe4fd1551bb24ceae4cb3744e9f0f9c6 /src
parent6b1deedf15d14e426e5450b759710e8782c22ab3 (diff)
downloadpacman-c4c5b8ba1d191bcde65eb09c9ce30b18c4619a35.tar.gz
pacman-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>
Diffstat (limited to 'src')
-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},