Skip to content
Snippets Groups Projects
Commit df8de965 authored by ale's avatar ale
Browse files

clarify usage of --

parent 7bb4c623
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ char *lock_dir = "/var/tmp"; ...@@ -29,7 +29,7 @@ char *lock_dir = "/var/tmp";
int usage() { int usage() {
fprintf(stderr, fprintf(stderr,
"%s v%s - a cron job wrapper\n" "%s v%s - a cron job wrapper\n"
"Usage: %s [<OPTIONS>] <COMMAND> [<ARGS>...]\n" "Usage: %s [<OPTIONS>] [--] <COMMAND> [<ARGS>...]\n"
"\n" "\n"
"Known options:\n" "Known options:\n"
"\n" "\n"
...@@ -59,6 +59,9 @@ int usage() { ...@@ -59,6 +59,9 @@ int usage() {
" lock to be released, failing with an error if after SECONDS\n" " 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" " the lock could not be obtained. If set to 0 (the default),\n"
" wait forever. Specifying this option implies --wait.\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", "\n",
PACKAGE, PACKAGE_VERSION, PACKAGE PACKAGE, PACKAGE_VERSION, PACKAGE
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment