1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#ifndef HELP_H
#define HELP_H
/* Help text to be given by -h/--help. */
#define HELPTEXT \
"ledd (%s) version %s\n" \
"Copyright (C) 2000 by Sampo Niskanen, distributed under the terms\n" \
"of the GNU GPL version 2 or later. ABSOLUTELY NO WARRANTY.\n" \
"See the file COPYING for details.\n" \
"\n" \
"Usage: %s [options]\n" \
"\n" \
" -h --help This help message.\n" \
" -v -V --version Print version information.\n" \
" -c FILE --config FILE Read configuration from FILE\n"\
" [%s].\n" \
" -p FILE --pipe FILE Define additional command pipes.\n" \
" -s FILE --startup FILE Define additional startup programs.\n" \
" -d --daemon Fork into background (overrides).\n" \
" -D --no-daemon Do not fork into background (overrides).\n" \
" --pidfile FILE Use FILE as a pidfile (overrides).\n" \
"\n", \
PACKAGE,VERSION,g_basename(argv[0]),DEFAULTCONFIG_LEDD
/* Version info to be given by -v/--version */
#define VERSIONTEXT \
"ledd (%s) %s\n", \
PACKAGE,VERSION
#endif
|