function print_usage

2.x tripal_launch_job.php print_usage($stdout)
1.x tripal_launch_jobs.php print_usage($stdout)

Print out the usage instructions if they are not followed correctly

Related topics

1 call to print_usage()
tripal_launch_job.php in tripal_core/tripal_launch_job.php
This script will launch any waiting tripal jobs in succession.

File

tripal_core/tripal_launch_job.php, line 64
This script will launch any waiting tripal jobs in succession.

Code

function print_usage($stdout) {
  fwrite($stdout, "Usage:\n");
  fwrite($stdout, "  php tripal_launch_job <job_id> <drupal_root_path> <username> <do parallel>\n\n");
  fwrite($stdout, "    where <username> is a Drupal user name\n\n");
}