]> git.deb.at Git - pkg/abook.git/blobdiff - debian/patches/03_datafile-f-switch
merge changes from 0.5.6-7
[pkg/abook.git] / debian / patches / 03_datafile-f-switch
diff --git a/debian/patches/03_datafile-f-switch b/debian/patches/03_datafile-f-switch
new file mode 100644 (file)
index 0000000..f5e8e2f
--- /dev/null
@@ -0,0 +1,16 @@
+Author: Gerfried Fuchs <rhonda@debian.at>      vim:ft=diff:
+Description: Let --datafile also work through -f short option
+
+Index: b/abook.c
+===================================================================
+--- a/abook.c
++++ b/abook.c
+@@ -331,7 +331,7 @@ parse_command_line(int argc, char **argv
+                       { 0, 0, 0, 0 }
+               };
+-              c = getopt_long(argc, argv, "hC:",
++              c = getopt_long(argc, argv, "hC:f:",
+                               long_options, &option_index);
+               if(c == -1)