Patch from Recai

SVN revision: 1157
This commit is contained in:
2004-12-29 13:43:41 +00:00
parent dc4ddf0478
commit 5e9b24f1eb
3 changed files with 20 additions and 8 deletions
+3
View File
@@ -54,6 +54,9 @@ messages automatically into the logbook.
.SH OPTIONS
\fBelog\fP accepts the following options:
.TP
.BR \-H
submit entry in HTML format
.TP
.BI -a " attribute=value"
set attribute to value
.TP
+9 -3
View File
@@ -21,9 +21,9 @@ elogd \- web server program for Electronic Logbook ELOG
.sp
\fBelog\fR [ \fB-a \fIpassword\fB\fR ] [ \fB-C \fIurl\fB\fR ] [ \fB-c \fIfile\fB\fR ]
[ \fB-D\fR ] [ \fB-d \fIdirectory\fB\fR ] [ \fB-f \fIfile\fB\fR ] [ \fB-k\fR ]
[ \fB-l \fIlogbook\fB\fR ] [ \fB-n \fIhostname\fB\fR ] [ \fB-p \fIport\fB\fR ]
[ \fB-r \fIpassword\fB\fR ] [ \fB-S\fR ] [ \fB-s \fIdirectory\fB\fR ] [ \fB-v\fR ]
[ \fB-w \fIpassword\fB\fR ] [ \fB-x\fR ]
[ \fB-l \fIlogbook\fB\fR ] [ \fB-M\fR ] [ \fB-m\fR ] [ \fB-n \fIhostname\fB\fR ]
[ \fB-p \fIport\fB\fR ] [ \fB-r \fIpassword\fB\fR ] [ \fB-S\fR ]
[ \fB-s \fIdirectory\fB\fR ] [ \fB-v\fR ] [ \fB-w \fIpassword\fB\fR ] [ \fB-x\fR ]
.SH DESCRIPTION
.PP
@@ -59,6 +59,12 @@ specify logbook root directory
.BI -f " file"
specify PID file
.TP
.BI -M
synchronize with removing deleted entries
.TP
.BI -m
synchronize logbook(s) with remote server
.TP
.BI -n " host"
host where
.B elogd
+8 -5
View File
@@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$Log$
Revision 1.527 2004/12/29 13:42:38 midas
Patch from Recai
Revision 1.526 2004/12/20 16:14:58 midas
Version 2.5.5-3
@@ -21488,14 +21491,14 @@ int main(int argc, char *argv[])
else {
usage:
printf("%s\n", ELOGID);
printf("usage: elogd [-a <pwd>] [-c <file>] [-C <url>] [-D] [-d <dir>] ");
printf("[-f <file>] [-h] [-k] [-l <logbook>] [-n <hostname>] [-p <port>] ");
printf("[-r <pwd>] [-S] [-s <dir>] [-v] [-w <pwd>] [-x]\n\n");
printf("usage: elogd [-a <pwd>] [-C <url>] [-c <file>] [-D] [-d <dir>] ");
printf("[-f <file>] [-h] [-k] [-l <logbook>] [-M] [-m] [-n <hostname>] ");
printf("[-p <port>] [-r <pwd>] [-S] [-s <dir>] [-v] [-w <pwd>] [-x]\n\n");
printf(" -a <pwd> create/overwrite admin password in config file\n");
printf(" -c <file> specify configuration file\n");
printf(" -C <url> clone remote elogd configuration\n");
printf(" -m synchronize logbook(s) with remote server\n");
printf(" -c <file> specify configuration file\n");
printf(" -M synchronize with removing deleted entries\n");
printf(" -m synchronize logbook(s) with remote server\n");
printf(" -D become a daemon\n");
printf(" -d <dir> specify logbook root directory\n");
#ifdef OS_UNIX