Unverified Commit 17d359be by Christian Brauner Committed by Stéphane Graber

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: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent a3ff979b
...@@ -131,7 +131,7 @@ static void print_usage(const struct option longopts[], ...@@ -131,7 +131,7 @@ static void print_usage(const struct option longopts[],
static void print_version() static void print_version()
{ {
printf("%s\n", LXC_VERSION); printf("%s%s\n", LXC_VERSION, LXC_DEVEL ? "-devel" : "");
exit(0); exit(0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment