Commits

Denis Khabarov committed 61fb910

fix

  • Participants
  • Parent commits 2969731

Comments (0)

Files changed (1)

 
 
 function show_usage()
-	local _usage=[[usage: ]]..arg[0]:gsub('./','')..[[ --addr=dc.mycompany.ltd [ --port=4111 ] [ --nick='MyNagios' ] [ --password='mysuperpassowrd' ] [ --sharesize=1G ] [ --perfdata ] [ --usersmaxwarn=95 ] [ --usersmaxcritical=100 ] [ --expecthubname='My Company DC's Hub' ] [ --randomnick ] ]]
+	local _usage=[[usage: ]]..arg[0]:gsub('./','')..[[ --addr=dc.mycompany.ltd [ --port=4111 ] [ --nick='MyNagios' ] [ --password='mysuperpassowrd' ] [ --sharesize=1G ] [ --perfdata ] [ --usersmaxwarn=95 ] [ --usersmaxcritical=100 ] [ --expecthubname='My Company DC's Hub' ] [ --randomnick ] [ --version ] ]]
 	print(_usage)
 end
 
 print[[
 
 Options:
+	--version                 - Show version
 	--help                    - Show this help
 	--addr=VALUE              - Host name or IP Address hub
 	--port=VALUE              - TCP Port. (Optional. Default: 411)