Add git commit version info

This commit is contained in:
john hood
2015-05-18 18:56:40 -04:00
committed by John Hood
parent e0138bdb2b
commit f3073bbe5d
5 changed files with 32 additions and 7 deletions
+2 -1
View File
@@ -31,6 +31,7 @@
*/
#include "config.h"
#include "version.h"
#include <stdlib.h>
#include <string.h>
@@ -71,7 +72,7 @@
#endif
void usage( const char *argv0 ) {
fprintf( stderr, "mosh-client (%s)\n", PACKAGE_STRING );
fprintf( stderr, "mosh-client (%s) [build %s]\n", PACKAGE_STRING, BUILD_VERSION );
fprintf( stderr, "Copyright 2012 Keith Winstein <mosh-devel@mit.edu>\n" );
fprintf( stderr, "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\n" );