Repository: storm
Updated Branches:
  refs/heads/1.0.x-branch 01c9923d0 -> 78d693f68


Fix version command in storm.cmd

Move version command from shellcommands to corecommands. VersionInfo.main() 
needs to be executed to print out the version information.

Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/5fae3553
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/5fae3553
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/5fae3553

Branch: refs/heads/1.0.x-branch
Commit: 5fae3553c4ffc40c29b08e3a40e8b08be1192316
Parents: 01c9923
Author: zxtwonder <z...@wondergate.io>
Authored: Sun Aug 21 17:17:49 2016 +0800
Committer: Jungtaek Lim <kabh...@gmail.com>
Committed: Fri Sep 23 10:23:53 2016 +0900

----------------------------------------------------------------------
 bin/storm.cmd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/5fae3553/bin/storm.cmd
----------------------------------------------------------------------
diff --git a/bin/storm.cmd b/bin/storm.cmd
index 20b7a85..8ee810f 100644
--- a/bin/storm.cmd
+++ b/bin/storm.cmd
@@ -51,7 +51,7 @@
 
   call :make_command_arguments %*
 
-  set shellcommands=classpath help version
+  set shellcommands=classpath help
   for %%i in ( %shellcommands% ) do (
     if %storm-command% == %%i set shellcommand=true
   )
@@ -60,7 +60,7 @@
     goto :eof
   )
 
-  set corecommands=activate deactivate dev-zookeeper drpc kill list nimbus 
logviewer rebalance remoteconfvalue repl shell supervisor ui
+  set corecommands=activate deactivate dev-zookeeper drpc kill list nimbus 
logviewer rebalance remoteconfvalue repl shell supervisor ui version
   for %%i in ( %corecommands% ) do (
     if %storm-command% == %%i set corecommand=true  
   )

Reply via email to