[pacman-dev] [PATCH 1/2] pactree: fix --sync getopt value

Andrew Gregory andrew.gregory.8 at gmail.com
Mon Oct 15 14:29:07 EDT 2012


The long --sync options has apparently never worked.

Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 src/util/pactree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/pactree.c b/src/util/pactree.c
index 4488645..ab5d90a 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},
-- 
1.7.12.2



More information about the pacman-dev mailing list