From c6a843122ad60fff05e7daa2f7b30abc2ec101e9 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Mon, 19 Oct 2020 16:14:41 +0200 Subject: [BUILD] set build type and stop Release build if repository is dirty --- src/client/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client') diff --git a/src/client/client.c b/src/client/client.c index e433160..69cc00f 100644 --- a/src/client/client.c +++ b/src/client/client.c @@ -644,7 +644,7 @@ static int dnbd3_daemon_send(int argc, char **argv) static void dnbd3_print_help(char *argv_0) { - printf( "Version: %s\n", DNBD3_VERSION ); + printf( "Version: %s\n", DNBD3_BUILD_VERSION ); printf( "\nUsage: %s\n" "\t-h -i [-r ] -d [-a ] || -c -d \n\n", argv_0 ); printf( "Start the DNBD3 client.\n" ); @@ -666,6 +666,6 @@ static void dnbd3_print_help(char *argv_0) void dnbd3_print_version() { - printf( "dnbd3-client version: %s\n", DNBD3_VERSION ); + printf( "dnbd3-client version: %s\n", DNBD3_BUILD_VERSION ); exit( EXIT_SUCCESS ); } -- cgit v1.2.3-55-g7522