Commit 4780cc5e authored by WuYunlong's avatar WuYunlong Committed by Oran Agra
Browse files

Fix out of update help info in tcl tests. (#7516)

Before this commit, the output of "./runtest-cluster --help" is incorrect.
After this commit, the format of the following 3 output is consistent:
./runtest --help
./runtest-cluster --help
./runtest-sentinel --help

(cherry picked from commit 8128d397)
parent 9bc6af24
...@@ -170,8 +170,6 @@ proc parse_options {} { ...@@ -170,8 +170,6 @@ proc parse_options {} {
-keyfile "$::tlsdir/redis.key" -keyfile "$::tlsdir/redis.key"
set ::tls 1 set ::tls 1
} elseif {$opt eq "--help"} { } elseif {$opt eq "--help"} {
puts "Hello, I'm sentinel.tcl and I run Sentinel unit tests."
puts "\nOptions:"
puts "--single <pattern> Only runs tests specified by pattern." puts "--single <pattern> Only runs tests specified by pattern."
puts "--pause-on-error Pause for manual inspection on error." puts "--pause-on-error Pause for manual inspection on error."
puts "--fail Simulate a test failure." puts "--fail Simulate a test failure."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment