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:
Evan Typanski 2024-12-18 16:13:13 -05:00
parent e4489616c6
commit 77273a676d

View file

@ -100,6 +100,10 @@ export {
## 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.
##
## Returns: The analyzer tag corresponding to the name.