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

--version argument should only print the version #1375

Closed
davidak opened this issue May 8, 2019 · 1 comment · Fixed by #1379
Closed

--version argument should only print the version #1375

davidak opened this issue May 8, 2019 · 1 comment · Fixed by #1379

Comments

@davidak
Copy link
Contributor

davidak commented May 8, 2019

Would you accept a PR with this change?

This would also clean up future bugreports.

Expected behavior

I expect to get just the version number.

Like with other tools:

$ git --version
git version 2.19.2

$ man --version
man 2.7.5

$ chromium --version
Chromium 74.0.3729.108

Actual behavior

root@gsm:~# gsad --version
Oops, secure memory pool already initialized
Greenbone Security Assistant 8.0.0
Copyright (C) 2010 - 2019 Greenbone Networks GmbH
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I also get a bunch of other information not related to the command.

Steps to reproduce

  1. gsad --version

GVM versions

gsa: 8.0.0

gvm: 8.0.0

openvas-scanner: 6.0.0

gvm-libs:

Environment

Operating system: GOS 5

@bjoernricks
Copy link
Contributor

You are right this is much to verbose currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants