diff --git a/runcron.c b/runcron.c index 23c52650d1909efc960a24f402bd98c4e7163b85..8ae60f99e55a1803f36c36a2a310f39f7f289278 100644 --- a/runcron.c +++ b/runcron.c @@ -29,7 +29,7 @@ char *lock_dir = "/var/tmp"; int usage() { fprintf(stderr, "%s v%s - a cron job wrapper\n" - "Usage: %s [<OPTIONS>] <COMMAND> [<ARGS>...]\n" + "Usage: %s [<OPTIONS>] [--] <COMMAND> [<ARGS>...]\n" "\n" "Known options:\n" "\n" @@ -59,6 +59,9 @@ int usage() { " lock to be released, failing with an error if after SECONDS\n" " the lock could not be obtained. If set to 0 (the default),\n" " wait forever. Specifying this option implies --wait.\n" + "\n" + "If you are passing options to COMMAND, remember to use `--' to tell the runcron\n" + "option parser to stop interpreting options for itself.\n" "\n", PACKAGE, PACKAGE_VERSION, PACKAGE );