From 632297b3b65eecf626a87ff0d5b9cfc8f3c181f1 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 12 Oct 2017 10:06:46 +0200 Subject: [PATCH] arguments: print "-devel" when LXC_DEVEL is true liblxc should inform users that they are using a devel version. This will have liblxc print MAJOR.MINOR.PATCH-devel if LXC_DEVEL is true and MAJOR.MINOR.PATCH otherwise. Signed-off-by: Christian Brauner --- src/lxc/arguments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/arguments.c b/src/lxc/arguments.c index c6267387f..f16b19562 100644 --- a/src/lxc/arguments.c +++ b/src/lxc/arguments.c @@ -131,7 +131,7 @@ static void print_usage(const struct option longopts[], static void print_version() { - printf("%s\n", LXC_VERSION); + printf("%s%s\n", LXC_VERSION, LXC_DEVEL ? "-devel" : ""); exit(0); } -- 2.47.2