/[debian]/bti/trunk/debian/patches/getopt.patch
ViewVC logotype

Contents of /bti/trunk/debian/patches/getopt.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1656 - (show annotations)
Tue Mar 24 19:46:56 2009 UTC (12 years, 4 months ago) by gregoa
File size: 660 byte(s)
* debian/install: add new bti-shrink-urls.
* debian/copyright: add information about bti-shrink-urls.
* Create a manpage for bti-shrink-urls.
* debian/rules: skip dh_auto_install (upstream Makefile now has an install
  target which is not easier to use than the manual installation we've been
  using).
* Add a new patch getopt.patch to make the new commandline options available
  in bti.c.
1 Author: gregor herrmann <gregoa@debian.org>
2 Description: add missing arguments to getopt_long_only call and add
3 --dry-run to --help
4
5 --- a/bti.c
6 +++ b/bti.c
7 @@ -106,6 +106,7 @@
8 fprintf(stdout, " --page PAGENUMBER\n");
9 fprintf(stdout, " --bash\n");
10 fprintf(stdout, " --debug\n");
11 + fprintf(stdout, " --dry-run\n");
12 fprintf(stdout, " --version\n");
13 fprintf(stdout, " --help\n");
14 }
15 @@ -965,7 +966,7 @@
16 parse_configfile(session);
17
18 while (1) {
19 - option = getopt_long_only(argc, argv, "dqe:p:P:H:a:A:u:hg:",
20 + option = getopt_long_only(argc, argv, "dqe:p:P:H:a:A:u:hg:sn",
21 options, NULL);
22 if (option == -1)
23 break;

  ViewVC Help
Powered by ViewVC 1.1.26