mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Improve zeek_script_args test case and documentation
This commit is contained in:
parent
39177ce8c9
commit
2d3b4dab74
7 changed files with 30 additions and 19 deletions
|
@ -455,15 +455,15 @@ type connection: record {
|
|||
};
|
||||
|
||||
## Arguments given to Zeek from the command line. In order to use this, Zeek
|
||||
## must use the "--" command line argument, then give the script name immediately
|
||||
## after the double hyphens and the provide the arguments after that. For example:
|
||||
##
|
||||
## must use a ``--`` command line argument immediately followed by a script
|
||||
## file and additional arguments after that. For example::
|
||||
##
|
||||
## zeek --bare-mode -- myscript.zeek -a -b -c
|
||||
##
|
||||
##
|
||||
## To use Zeek as an executable interpreter, include a line at the top of a script
|
||||
## like the following and make the script executable:
|
||||
##
|
||||
## #!/usr/local/zeek/bin/zeek --
|
||||
## like the following and make the script executable::
|
||||
##
|
||||
## #!/usr/local/zeek/bin/zeek --
|
||||
const zeek_script_args: vector of string = vector();
|
||||
|
||||
## Default amount of time a file can be inactive before the file analysis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue