src/cline.c

changeset 48
0d2c13c24fd0
parent 44
9574a181ec26
child 50
63477d92411d
     1.1 --- a/src/cline.c	Wed May 31 11:40:07 2017 +0200
     1.2 +++ b/src/cline.c	Wed May 31 12:20:04 2017 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  /*
     1.5   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 
     1.6 - * Copyright 2013 Mike Becker. All rights reserved.
     1.7 + * Copyright 2017 Mike Becker. All rights reserved.
     1.8   * 
     1.9   * Redistribution and use in source and binary forms, with or without
    1.10   * modification, are permitted provided that the following conditions are met:
    1.11 @@ -78,12 +78,13 @@
    1.12  }
    1.13  
    1.14  int exit_with_version(settings_t* settings) {
    1.15 -  printf("cline - Version: %s\n", VERSION);
    1.16 +  printf("cline - Version: " VERSION "\n");
    1.17    destroy_settings_t(settings);
    1.18    return 0;
    1.19  }
    1.20  
    1.21  int exit_with_help(settings_t* settings, int code) {
    1.22 +  printf("cline - Version: " VERSION "\n\n");
    1.23    printHelpText();
    1.24    destroy_settings_t(settings);
    1.25    return code;

mercurial