summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli.c3
-rw-r--r--src/getht.c4
2 files changed, 1 insertions, 6 deletions
diff --git a/src/cli.c b/src/cli.c
index efce2bb..52f0f36 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -61,11 +61,10 @@ void showusage()
{
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");
diff --git a/src/getht.c b/src/getht.c
index 051fb6f..aa71adf 100644
--- a/src/getht.c
+++ b/src/getht.c
@@ -96,7 +96,6 @@ int main(int argc, char *argv[])
{"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 @@ int main(int argc, char *argv[])
update = 1;
option = 1;
break;
- case 't':
- strncpy(issue_xml, strdup(optarg), STR_MAX);
- break;
case 'h':
showusage();
return 0;