comparison-type option is case sensitive
[voldemort/jeffpc.git] / bin / voldemort-shell.bat
blob3300cef41d4f9d5d92da1803afed531f947b58ee
1 @echo off
3 REM
4 REM Copyright 2013 Carlos Tasada
5 REM
6 REM Licensed under the Apache License, Version 2.0 (the "License");
7 REM you may not use this file except in compliance with the License.
8 REM You may obtain a copy of the License at
9 REM
10 REM http://www.apache.org/licenses/LICENSE-2.0
11 REM
12 REM Unless required by applicable law or agreed to in writing, software
13 REM distributed under the License is distributed on an "AS IS" BASIS,
14 REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 REM See the License for the specific language governing permissions and
16 REM limitations under the License.
17 REM
18 REM ** This Windows BAT file is not tested with each Voldemort release. **
20 set argC=0
21 for %%a in (%*) do set /a argC+=1
22 if %argC% geq 2 goto :continue
23 echo "USAGE: bin/voldemort-shell.bat store_name bootstrap_url [command_file] [--client-zone-id <zone-id>]"
24 goto :eof
25 :continue
27 setlocal
28 SET BASE_DIR=%~dp0..
30 call "%BASE_DIR%\bin\run-class.bat" jline.ConsoleRunner voldemort.VoldemortClientShell %*
32 endlocal
34 :eof