summaryrefslogtreecommitdiff
path: root/metastore.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2007-05-19 18:51:01 +0200
committerDavid Härdeman <david@hardeman.nu>2007-05-19 18:51:01 +0200
commit3e5ad4cf5f75f7e5ea42197f4baa7a56f86a697e (patch)
tree60845687bdb988d20fe544d7fe1c57f3a481fd67 /metastore.c
parent4b33b9b826d88c76dd562bebade1eacfa4a7d4a6 (diff)
Add a man page and update help message
Diffstat (limited to 'metastore.c')
-rw-r--r--metastore.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/metastore.c b/metastore.c
index 008a90b..7fae7ff 100644
--- a/metastore.c
+++ b/metastore.c
@@ -204,7 +204,7 @@ usage(const char *arg0, const char *message)
{
if (message)
msg(MSG_CRITICAL, "%s: %s\n\n", arg0, msg);
- msg(MSG_CRITICAL, "Usage: %s ACTION [OPTIONS] [PATH]...\n\n", arg0);
+ msg(MSG_CRITICAL, "Usage: %s ACTION [OPTION...] [PATH...]\n\n", arg0);
msg(MSG_CRITICAL, "Where ACTION is one of:\n"
" -d, --diff\tShow differences between stored and real metadata\n"
" -s, --save\tSave current metadata\n"
@@ -212,7 +212,8 @@ usage(const char *arg0, const char *message)
" -h, --help\tHelp message (this text)\n\n"
"Valid OPTIONS are (can be given more than once):\n"
" -v, --verbose\tPrint more verbose messages\n"
- " -q, --quiet\tPrint less verbose messages\n");
+ " -q, --quiet\tPrint less verbose messages\n"
+ " -m, --mtime\tAlso take mtime into account for diff or apply\n");
exit(message ? EXIT_FAILURE : EXIT_SUCCESS);
}