diff options
| author | Gertjan van den Burg <burg@ese.eur.nl> | 2016-12-08 14:10:09 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <burg@ese.eur.nl> | 2016-12-08 14:10:09 +0100 |
| commit | d445368eb8049be6e01f6f66ff31324687d9d47d (patch) | |
| tree | 90767e047c63d4d5308de36ba52f34756ffe4a1e | |
| parent | Add range check for some variables (diff) | |
| download | gensvm-d445368eb8049be6e01f6f66ff31324687d9d47d.tar.gz gensvm-d445368eb8049be6e01f6f66ff31324687d9d47d.zip | |
Add copyright and license notice to execs
| -rw-r--r-- | src/GenSVMgrid.c | 5 | ||||
| -rw-r--r-- | 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"); |
