From d445368eb8049be6e01f6f66ff31324687d9d47d Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 8 Dec 2016 14:10:09 +0100 Subject: Add copyright and license notice to execs --- src/GenSVMgrid.c | 5 ++++- src/GenSVMtraintest.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/GenSVMgrid.c b/src/GenSVMgrid.c index 41d1070..6f5843d 100644 --- a/src/GenSVMgrid.c +++ b/src/GenSVMgrid.c @@ -68,7 +68,10 @@ void read_grid_from_file(char *input_filename, struct GenGrid *grid); */ void exit_with_help(char **argv) { - printf("This is GenSVM, version %1.1f\n\n", VERSION); + printf("This is GenSVM, version %1.1f.\n", VERSION); + printf("Copyright (C) 2016, G.J.J. van den Burg.\n"); + printf("This program is free software, see the LICENSE file " + "for details.\n\n"); printf("Usage: %s [options] grid_file\n", argv[0]); printf("Options:\n"); printf("-h | -help : print this help.\n"); diff --git a/src/GenSVMtraintest.c b/src/GenSVMtraintest.c index ee990cb..f768cd8 100644 --- a/src/GenSVMtraintest.c +++ b/src/GenSVMtraintest.c @@ -61,7 +61,10 @@ void parse_command_line(int argc, char **argv, struct GenModel *model, */ void exit_with_help(char **argv) { - printf("This is GenSVM, version %1.1f\n\n", VERSION); + printf("This is GenSVM, version %1.1f.\n", VERSION); + printf("Copyright (C) 2016, G.J.J. van den Burg.\n"); + printf("This program is free software, see the LICENSE file " + "for details.\n\n"); printf("Usage: %s [options] training_data [test_data]\n\n", argv[0]); printf("Options:\n"); printf("--------\n"); -- cgit v1.2.3