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

cleanup output #484

Merged
merged 1 commit into from
Nov 13, 2024
Merged

cleanup output #484

merged 1 commit into from
Nov 13, 2024

Conversation

sni
Copy link
Contributor

@sni sni commented Nov 11, 2024

only print the requested information.
when running with -V simply print the version and exit.
when running with -h only print help and exit
when running with -L only print license and exit

only print the requested information.
when running with -V simply print the version and exit.
when running with -h only print help and exit
when running with -L only print license and exit
@nook24
Copy link
Member

nook24 commented Nov 13, 2024

Just for documentation purpose: with this change, the output of naemon --version will not start with a leading line break anymore. (indeed no output does this anymore now)

Old output


Naemon Core 1.4.2

New output

Naemon Core 1.4.2

Just in case this breaks someone's parser.

@sni sni merged commit f12c874 into naemon:master Nov 13, 2024
33 checks passed
@sni sni mentioned this pull request Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants