]> git.deb.at Git - pkg/abook.git/blob - debian/patches/03_datafile-f-switch
Imported Debian patch 0.5.6-7
[pkg/abook.git] / debian / patches / 03_datafile-f-switch
1 Author: Gerfried Fuchs <rhonda@debian.at>       vim:ft=diff:
2 Description: Let --datafile also work through -f short option
3
4 Index: abook-0.5.6/abook.c
5 ===================================================================
6 --- abook-0.5.6.orig/abook.c
7 +++ abook-0.5.6/abook.c
8 @@ -324,7 +324,7 @@ parse_command_line(int argc, char **argv
9                         { 0, 0, 0, 0 }
10                 };
11  
12 -               c = getopt_long(argc, argv, "hC:",
13 +               c = getopt_long(argc, argv, "hC:f:",
14                                 long_options, &option_index);
15  
16                 if(c == -1)