Repository: storm
Updated Branches:
  refs/heads/master 39a24bd00 -> aa0da6c61


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/5de39b39
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/5de39b39
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/5de39b39

Branch: refs/heads/master
Commit: 5de39b39bbe06d661b489c09dfb544e01902c2a8
Parents: 318c9e2
Author: zxtwonder <z...@wondergate.io>
Authored: Sun Aug 21 17:17:49 2016 +0800
Committer: GitHub <nore...@github.com>
Committed: Sun Aug 21 17:17:49 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/storm/blob/5de39b39/bin/storm.cmd
----------------------------------------------------------------------
diff --git a/bin/storm.cmd b/bin/storm.cmd
index 281caca..c99caff 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