s3:smbd multichannel: always refresh the network information
[metze/samba-autobuild-v4-18-test/.git] / wscript
diff --git a/wscript b/wscript
index 08995fbe4ec190f9b3f986f066d003c2e1f98477..b87b043e12bd9f8c33fd35b0f6ca57b9ad32c3df 100644 (file)
--- a/wscript
+++ b/wscript
@@ -542,6 +542,11 @@ def distcheck():
     '''test that distribution tarball builds and installs'''
     samba_version.load_version(env=None)
 
+def printversion(ctx):
+    '''print version'''
+    ver = samba_version.load_version(env=None)
+    print('Samba Version: ' + ver.STRING_WITH_NICKNAME)
+
 def wildcard_cmd(cmd):
     '''called on a unknown command'''
     from samba_wildcard import run_named_build_task