mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Sorted and completed help screen
SVN revision: 1039
This commit is contained in:
parent
53f2b9f05d
commit
4a9887b68e
33
src/elogd.c
33
src/elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.444 2004/08/06 07:30:52 midas
|
||||||
|
Sorted and completed help screen
|
||||||
|
|
||||||
Revision 1.443 2004/08/06 06:45:01 midas
|
Revision 1.443 2004/08/06 06:45:01 midas
|
||||||
Added strerror in more places
|
Added strerror in more places
|
||||||
|
|
||||||
@ -21045,24 +21048,26 @@ int main(int argc, char *argv[])
|
|||||||
else {
|
else {
|
||||||
usage:
|
usage:
|
||||||
printf("%s\n", ELOGID);
|
printf("%s\n", ELOGID);
|
||||||
printf("usage: elogd [-p port] [-n hostname] [-D] [-c file] [-r pwd] ");
|
printf("usage: elogd [-a <pwd>] [-c <file>] [-C <url>] [-D] [-d <dir>] ");
|
||||||
printf("[-w pwd] [-a pwd] [-l logbook] [-k] [-f file] [-C <url>] [-x]\n\n");
|
printf("[-f <file>] [-h] [-k] [-l <logbook>] [-n <hostname>] [-p <port>] ");
|
||||||
printf(" -p <port> TCP/IP port\n");
|
printf("[-r <pwd>] [-S] [-s <dir>] [-v] [-w <pwd>] [-x]\n\n");
|
||||||
printf(" -n <hostname> TCP/IP hostname\n");
|
printf(" -a <pwd> create/overwrite admin password in config file\n");
|
||||||
printf(" -D become a daemon\n");
|
|
||||||
printf(" -c <file> specify configuration file\n");
|
printf(" -c <file> specify configuration file\n");
|
||||||
printf(" -s <dir> specify resource directory (themes, icons, ...)\n");
|
printf(" -C <url> clone remote elogd configuration\n");
|
||||||
|
printf(" -D become a daemon\n");
|
||||||
printf(" -d <dir> specify logbook root directory\n");
|
printf(" -d <dir> specify logbook root directory\n");
|
||||||
printf(" -v debugging output\n");
|
printf(" -f <file> PID file\n");
|
||||||
printf(" -r create/overwrite read password in config file\n");
|
printf(" -h this help\n");
|
||||||
printf(" -w create/overwrite write password in config file\n");
|
|
||||||
printf(" -a create/overwrite admin password in config file\n");
|
|
||||||
printf(" -l <logbook> specify logbook for -r and -w commands\n\n");
|
|
||||||
printf(" -k do not use keep-alive\n");
|
printf(" -k do not use keep-alive\n");
|
||||||
printf(" -f path/filename for PID file\n");
|
printf(" -l <logbook> specify logbook for -r and -w commands\n");
|
||||||
|
printf(" -n <hostname> TCP/IP hostname\n");
|
||||||
|
printf(" -p <port> TCP/IP port\n");
|
||||||
|
printf(" -r <pwd> create/overwrite read password in config file\n");
|
||||||
|
printf(" -S be silent\n");
|
||||||
|
printf(" -s <dir> specify resource directory (themes, icons, ...)\n");
|
||||||
|
printf(" -v debugging output\n");
|
||||||
|
printf(" -w <pwd> create/overwrite write password in config file\n");
|
||||||
printf(" -x enable execution of shell commands\n\n");
|
printf(" -x enable execution of shell commands\n\n");
|
||||||
printf(" -C <url> clone remote elogd configuration\n\n");
|
|
||||||
printf(" -h this help\n\n");
|
|
||||||
#ifdef OS_WINNT
|
#ifdef OS_WINNT
|
||||||
printf("Windows service funtions:\n");
|
printf("Windows service funtions:\n");
|
||||||
printf(" -install install elogd as service and start it\n");
|
printf(" -install install elogd as service and start it\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user