]> git.deb.at Git - pkg/abook.git/blob - debian/patches/03_datafile-f-switch.diff
f211e7de56d27fa2ce464d7a103875cd3e97ca0a
[pkg/abook.git] / debian / patches / 03_datafile-f-switch.diff
1 Author: Gerfried Fuchs <rhonda@debian.org>   vim:ft=diff:
2 Description: Let --datafile also work through -f short option
3 ==============================================================================
4 Index: abook/abook.c
5 ===================================================================
6 --- abook.orig/abook.c
7 +++ abook/abook.c
8 @@ -342,7 +342,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)