src/cline.c

changeset 48
0d2c13c24fd0
parent 44
9574a181ec26
child 50
63477d92411d
--- a/src/cline.c	Wed May 31 11:40:07 2017 +0200
+++ b/src/cline.c	Wed May 31 12:20:04 2017 +0200
@@ -1,6 +1,6 @@
 /*
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 
- * Copyright 2013 Mike Becker. All rights reserved.
+ * Copyright 2017 Mike Becker. All rights reserved.
  * 
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -78,12 +78,13 @@
 }
 
 int exit_with_version(settings_t* settings) {
-  printf("cline - Version: %s\n", VERSION);
+  printf("cline - Version: " VERSION "\n");
   destroy_settings_t(settings);
   return 0;
 }
 
 int exit_with_help(settings_t* settings, int code) {
+  printf("cline - Version: " VERSION "\n\n");
   printHelpText();
   destroy_settings_t(settings);
   return code;

mercurial