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

Remove copyright from gsad version output #1379

Merged
merged 1 commit into from
May 10, 2019

Conversation

davidak
Copy link
Contributor

@davidak davidak commented May 9, 2019

Fixes #1375

I don't have a dev environment, so please test it!

Checklist:

@davidak davidak requested a review from bjoernricks May 9, 2019 09:51
@davidak davidak requested a review from a team May 9, 2019 09:51
CHANGELOG.md Outdated Show resolved Hide resolved
@bjoernricks
Copy link
Contributor

diff --git a/gsad/src/gsad.c b/gsad/src/gsad.c
index f176b62ea..1eed5d547 100644
--- a/gsad/src/gsad.c
+++ b/gsad/src/gsad.c
@@ -2830,6 +2827,9 @@ main (int argc, char **argv)
 
   option_context =
     g_option_context_new ("- Greenbone Security Assistant Daemon");
+
+  g_option_context_set_summary (option_context, COPYRIGHT);
+
   g_option_context_add_main_entries (option_context, option_entries, NULL);
   if (!g_option_context_parse (option_context, &argc, &argv, &error))
     {

@davidak davidak changed the title [WIP] Remove copyright from gsad version output Remove copyright from gsad version output May 9, 2019
@bjoernricks bjoernricks merged commit 381da5a into greenbone:master May 10, 2019
@davidak davidak deleted the version branch May 10, 2019 13:49
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.

--version argument should only print the version
2 participants