mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Document get_tag
to ensure that name
exists
This caused confusion and I don't think it's very intuitive. If called with a name that does not exist, this returns without a value, not even an error value. Changing that seems like it could be more deprecation work.
This commit is contained in:
parent
e4489616c6
commit
77273a676d
1 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,10 @@ export {
|
||||||
|
|
||||||
## Translates an analyzer's name to a tag enum value.
|
## Translates an analyzer's name to a tag enum value.
|
||||||
##
|
##
|
||||||
|
## The analyzer is assumed to exist; call
|
||||||
|
## :zeek:see:`Analyzer::has_tag` first to verify that name is a
|
||||||
|
## valid analyzer name.
|
||||||
|
##
|
||||||
## name: The analyzer name.
|
## name: The analyzer name.
|
||||||
##
|
##
|
||||||
## Returns: The analyzer tag corresponding to the name.
|
## Returns: The analyzer tag corresponding to the name.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue