#48 jmeter: remove unneded wrapper function

This commit is contained in:
Julien Nicoulaud 2011-09-18 21:18:00 +02:00
parent 28e2c1482a
commit 84c01133ee
1 changed files with 11 additions and 15 deletions

26
_jmeter
View File

@ -44,18 +44,14 @@
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
_jmeter() { _arguments \
_arguments \ '(- 1 *)'{-h,--help}'[Show help options]' \
'(- 1 *)'{-h,--help}'[Show help options]' \ '-p[properties files]:properties file:_files -g "*.properties"' \
'-p[properties files]:properties file:_files -g "*.properties"' \ '-n[run in non-GUI mode]' \
'-n[run in non-GUI mode]' \ '-t[name of JMX file that contains the Test Plan]:JMeter test plan file:_files -g "*.jmx"' \
'-t[name of JMX file that contains the Test Plan]:JMeter test plan file:_files -g "*.jmx"' \ '-l[name of JTL file to log sample results to]: :_files -g "*.jtl"' \
'-l[name of JTL file to log sample results to]: :_files -g "*.jtl"' \ '-j[name of JMeter run log file]: :_files -g "*.log"' \
'-j[name of JMeter run log file]: :_files -g "*.log"' \ '-r[run the test in the servers specified by the JMeter property "remote_hosts"]' \
'-r[run the test in the servers specified by the JMeter property "remote_hosts"]' \ '-R[run the test in the specified remote servers]:remote servers list' \
'-R[run the test in the specified remote servers]:remote servers list' \ '-H[proxy server hostname or ip address]: :_hosts' \
'-H[proxy server hostname or ip address]: :_hosts' \ '-P[proxy server port]:number'
'-P[proxy server port]:number'
}
_jmeter "$@"