diff options
author | Nick White <git@njw.me.uk> | 2009-09-11 18:25:32 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-09-11 18:25:32 +0100 |
commit | cddfe7c2b8a9786680833e5a66765ad9b214809b (patch) | |
tree | 07c4b0517992a6ebe1c1092f0dc48fbe416abe66 /src/cli.c | |
parent | 25b301b2068cdfb6d86b334df781eb900f1952a2 (diff) |
Updated getht -h message to be closer to GNU standards
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 29 |
1 files changed, 18 insertions, 11 deletions
@@ -58,15 +58,22 @@ void list_issues(iss ** issue, int no_of_issues, int verbose) void showusage() { - printf("Usage: getht [-ulafhvV] [-d issno]\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("-s | --download-section secno Download section number secno\n"); - printf("-f | --force Force re-download of existing files\n"); - printf("-h | --help Print this help message\n"); - printf("-q | --quiet Make output less verbose\n"); - printf("-v | --verbose Make output more verbose\n"); - printf("-V | --version Print version information\n"); + printf("Usage: getht [options] -a\n"); + printf(" or: getht [options] -d issno [-s secno]\n"); + printf(" or: getht [options] -l\n"); + printf("Downloads issue(s) of Hinduism Today\n\n"); + printf("Download options:\n"); + printf(" -a, --download-all Download all issues\n"); + printf(" -d, --download-issue issno Download issue number issno\n"); + printf(" -s, --download-section secno Download section number secno\n"); + printf(" -f, --force Force re-download of existing files\n"); + printf("Discovery options:\n"); + printf(" -l, --list-issues List available issues\n"); + printf(" -u, --update Update contents files\n"); + printf("Global options:\n"); + printf(" -q, --quiet Make output less verbose\n"); + printf(" -v, --verbose Make output more verbose\n"); + printf("Other options:\n"); + printf(" -h, --help Print this help message\n"); + printf(" -V, --version Print version information\n"); } |