[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getht-commit] arch commit: getht--mainline--0.1--patch-38
From: |
Nick |
Subject: |
[Getht-commit] arch commit: getht--mainline--0.1--patch-38 |
Date: |
Thu, 3 Apr 2008 03:24:29 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
Revision: getht--mainline--0.1--patch-38
Archive: address@hidden
Creator: Nick White <address@hidden>
Date: Thu Apr 3 03:23:23 BST 2008
Standard-date: 2008-04-03 02:23:23 GMT
Modified-files: src/cli.c src/getht.c
New-patches: address@hidden/getht--mainline--0.1--patch-38
Summary: Removed alternate tocfile option
Keywords:
Removed option to specify a different tocfile; not likely to ever be used.
Also reformatted usage message a little.
M src/cli.c
M src/getht.c
* modified files
--- orig/src/cli.c
+++ mod/src/cli.c
@@ -61,11 +61,10 @@
{
printf("Usage: getht [-ualmofhv] [-d issno] [-n medno] [-t tocfile]\n");
printf("-u | --update Update contents files\n");
+ printf("-l | --list-issues List available issues\n");
printf("-a | --download-all Download all issues\n");
printf("-d | --download-issue issno Download issue number issno\n");
printf("-f | --force Force re-download of existing
files\n");
- printf("-l | --list-issues List available issues\n");
- printf("-t | --tocfile file Use alternative contents xml
file\n");
printf("-h | --help Print this help message\n");
printf("-v | --verbose Make output more verbose\n");
printf("-V | --version Print version information\n");
--- orig/src/getht.c
+++ mod/src/getht.c
@@ -96,7 +96,6 @@
{"force", no_argument, 0, 'f'},
{"list-issues", no_argument, 0, 'l'},
{"update", no_argument, 0, 'u'},
- {"tocfile", required_argument, 0, 't'},
{"help", no_argument, 0, 'h'},
{"verbose", no_argument, 0, 'v'},
{"version", no_argument, 0, 'V'},
@@ -126,9 +125,6 @@
update = 1;
option = 1;
break;
- case 't':
- strncpy(issue_xml, strdup(optarg), STR_MAX);
- break;
case 'h':
showusage();
return 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getht-commit] arch commit: getht--mainline--0.1--patch-38,
Nick <=