Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting of "print" statements #31

Open
vpax opened this issue Aug 2, 2022 · 0 comments
Open

Formatting of "print" statements #31

vpax opened this issue Aug 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@vpax
Copy link

vpax commented Aug 2, 2022

This is a very minor issue and maybe one that's better addressed using a style guide (which I have for Corelight use), I'm fine with that being the resolution. Same applies to the next issue I'm going to file.

The request is to remove unnecessary parens in print statements. I've noticed that some script writers treat print like a function call, so they'll do things like:

print (foo);

Is it reasonable for zeek-format to change that to:

print foo;

?

@vpax vpax added the enhancement New feature or request label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant