| version 1.8, 2002/04/09 21:16:45 |
version 1.9, 2002/04/11 00:04:27 |
| Line 157 msg_array_print(array) |
|
| Line 157 msg_array_print(array) |
|
| void |
void |
| msg_usage_print(void) |
msg_usage_print(void) |
| { |
{ |
| fprintf(stderr, "extended pipeling v%s [%s/%s]", VERSION, |
fprintf(stderr, "\nextended pipelining v%s / %s %s\n\n", VERSION, __DATE__, __TIME__); |
| __DATE__, __TIME__); |
fprintf(stderr, "Usage\n %s [ GLOBALS -- ] [ [ [ PROCS_1 cmd_1 ] -- PROCS_2 cmd_2 ] ... ]\n", argv0); |
| fprintf(stderr, " -- written by Ondrej Jombik\n"); |
fprintf(stderr, "\nGlobal options (GLOBALS)\n"); |
| fprintf(stderr, "Usage: %s [-i inlink] [-o outlink] [-e errlink] proc1", |
fprintf(stderr, " -h, --help show this help screen\n"); |
| argv0); |
fprintf(stderr, " -s, --silent silent mode\n"); |
| fprintf(stderr, " [-- [] [] [] proc 2 ...]\n"); |
fprintf(stderr, " -v, --verbose verbose (more -v means more verbose)\n"); |
| |
fprintf(stderr, " --disable-global-config disable global config file loading\n"); |
| |
fprintf(stderr, " global config file is: %s\n", |
| |
conf_global_filename); |
| |
fprintf(stderr, " --disable-user-config disable user config file loading\n"); |
| |
fprintf(stderr, " user config file is: %s\n", |
| |
conf_user_filename); |
| |
fprintf(stderr, "\nProcess options (PROCS_n)\n"); |
| |
fprintf(stderr, " -i, --input input links\n"); |
| |
fprintf(stderr, " -o, --output output links\n"); |
| |
fprintf(stderr, " -e, --errput errput links\n"); |
| |
fprintf(stderr, " -n, --name process names\n"); |
| |
fprintf(stderr, " -N, --nice process run priority (from 20 to -20)\n"); |
| |
fprintf(stderr, " only superuser may specify negative values\n"); |
| |
fprintf(stderr, "\nCommand (cmd_n)\n"); |
| |
fprintf(stderr, " After process options you must specify command to run. That command could\n"); |
| |
fprintf(stderr, " contain its own options and parameters. They would not be parsed by ep.\n"); |
| |
fprintf(stderr, "\nNotes\n"); |
| |
fprintf(stderr, " Developed by Ondrej Jombik, http://www.nepto.sk/\n"); |
| |
fprintf(stderr, " Copyright (c) 2000-2002 Platon SDG, http://www.platon.sk/\n"); |
| |
fprintf(stderr, " See README file for more information about this software.\n"); |
| |
fprintf(stderr, " See COPYING file for license information.\n"); |
| |
|
| |
fprintf(stderr, "\n"); |
| } |
} |
| |
|