stress --help throws incorrect exit code

Bug #730671 reported by Valentine Gostev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MOVED - Percona Playback
Invalid
Undecided
Unassigned

Bug Description

[root@gval-cent5-64-n402 test]# ./stress.release --help
Allowed options:

General options:
  --help produce help message
  --version version number

MySQL client:
  --host arg mysql host
  --database arg mysql database
  --user arg mysql user
  --password arg mysql password
  --port arg mysql port
  --socket arg mysql socket
  --mysql_verbose_error explain mysql error codes

Input source:
  --slow_query_log_file arg input slow query log file
  --slow_query_log_socket arg input slow query log socket

[root@gval-cent5-64-n402 test]# echo $?
1
[root@gval-cent5-64-n402 test]#

Exit code in this case should be zero.

Oleg Tsarev (tsarev)
Changed in percona-playback:
status: New → Fix Committed
Stewart Smith (stewart)
Changed in percona-playback:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.