mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-16 21:26:27 +00:00
Updated command line parameters to elog program
SVN revision: 2322
This commit is contained in:
parent
432aaaec80
commit
2e6b430fda
@ -240,23 +240,29 @@ standalone "<I>client</I>" program <b><code>elog</code></b> can be used. The par
|
|||||||
are:
|
are:
|
||||||
<p>
|
<p>
|
||||||
<ul><pre>
|
<ul><pre>
|
||||||
elog -h hostname [-p port] [-l logbook]
|
elog -h <hostname> [-p port] [-d subdir]
|
||||||
[-w password]
|
Location where elogd is running
|
||||||
[-u username password]
|
-l logbook Name of logbook
|
||||||
-a <attribute1>=<value1>
|
-s Use SSL for communication
|
||||||
-a <attribute2>=<value2>
|
[-v] For verbose output
|
||||||
...
|
[-w password] Write password defined on server
|
||||||
-f attachment1
|
[-u username password] User name and password
|
||||||
-f attachment2
|
[-f <attachment>] Up to 50 attachments
|
||||||
...
|
-a <attribute>=<value> Up to 50 attributes
|
||||||
-m textfile | text
|
[-r <id>] Reply to existing message
|
||||||
</pre></ul>
|
[-q] Quote original text on reply
|
||||||
The password must match the write password defined on the server. If
|
[-e <id>] Edit existing message
|
||||||
user level access is defined on the server (via the "<I>password file </I>=" option),
|
[-x] Suppress email notification
|
||||||
a valid user name / password pair must be specified with the <b><code>-u</code></b> option.
|
[-n 0|1|2] Encoding: 0:ELcode,1:plain,2:HTML
|
||||||
<br><br>
|
-m <textfile>] | <text>
|
||||||
Multiple attributes can be specified as well as several attachments. If
|
</pre><ul>
|
||||||
attributes with multiple possible values are defined in a logbook (via the
|
Arguments with blanks must be enclosed in quotes. The elog message can either
|
||||||
|
be submitted on the command line, piped in like
|
||||||
|
|
||||||
|
<pre>"cat text | elog -h ... -l ... -a ..."</pre>
|
||||||
|
|
||||||
|
or in a file with the -m flag. Multiple attributes and attachments can be
|
||||||
|
supplied. If attributes with multiple possible values are defined in a logbook (via the
|
||||||
<i>"MOptions"</i> keyword), they can be separated with a "|",
|
<i>"MOptions"</i> keyword), they can be separated with a "|",
|
||||||
like <code><b>-a "<attribute>=<value1> | <value2>"</b></code>.
|
like <code><b>-a "<attribute>=<value1> | <value2>"</b></code>.
|
||||||
The message text can be supplied directly at the command line or submitted
|
The message text can be supplied directly at the command line or submitted
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user