Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   pactree: fix --sync getopt value (http://www.linux-archive.org/archlinux-pacman-development/712538-pactree-fix-sync-getopt-value.html)

Andrew Gregory 10-15-2012 06:29 PM

pactree: fix --sync getopt value
 
The long --sync options has apparently never worked.

Signed-off-by: Andrew Gregory <andrew.gregory.8@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


All times are GMT. The time now is 10:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.