aboutsummaryrefslogtreecommitdiff
path: root/src/gistatic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gistatic.c')
-rw-r--r--src/gistatic.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/gistatic.c b/src/gistatic.c
index 12a8917..ae23d7e 100644
--- a/src/gistatic.c
+++ b/src/gistatic.c
@@ -86,8 +86,23 @@ static const char *const MSGS[] = {
[MSG_NAME]="Name",
[MSG_DESCRIPTION]="Description",
[MSG_LAST_COMMIT]="Last commit",
- [MSG_USAGE]="Usage: -h -o -i\n-z -x...\n",
- [MSG_HELP]="help: ...\n",
+ [MSG_USAGE]=""
+ "Usage:\n"
+ " " PROGNAME " -i -o DIRECTORY REPOSITORY...\n"
+ " " PROGNAME " -o DIRECTORY -u CLONE_URL REPOSITORY\n"
+ " " PROGNAME " [-hV]\n"
+ "",
+ [MSG_HELP]=""
+ "\n"
+ "Options:\n"
+ " -i build the index page of the repositories\n"
+ " -u CLONE_URL address to be shown alongside \"git clone\"\n"
+ " -o DIRECTORY output where to place the generated files\n"
+ " -h, --help show this help\n"
+ " -V, --version print the version number\n"
+ "\n"
+ "See \"man gistatic\" for more information.\n"
+ "",
[MSG_COMMIT_FEED]="commit feed",
[MSG_TAGS_FEED]="tags feed",
[MSG_NAV_FILES]="files",