]> arthur.barton.de Git - netdata.git/commitdiff
inherit netdata version from autconf
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 1 Oct 2016 11:10:24 +0000 (14:10 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 1 Oct 2016 11:10:24 +0000 (14:10 +0300)
src/main.c

index 0ea80c2c66440b190b9b0d8df2e661007e331fbf..533292cf1dcccd18e66f4ce7e98fe10c9c620fd1 100644 (file)
@@ -374,7 +374,7 @@ int main(int argc, char **argv)
                     break;
                 case 'v':
                     // TODO: Outsource version to makefile which can compute version from git.
-                    printf("netdata 1.3.1_master\n");
+                    printf("netdata " VERSION "\n");
                     return 0;
                 case 'W':
                     {