Bug 23799

Summary: Help message in mongrel_cluster_ctl
Product: Sisyphus Reporter: Nikolay A. Fetisov <naf>
Component: ruby-mongrel_clusterAssignee: nbr <nbr>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P3 CC: cas, imz, led, majioa, mike, rider, stalker, stanv, timonbl4
Version: unstable   
Hardware: all   
OS: Linux   

Description Nikolay A. Fetisov 2010-07-22 14:32:27 MSD
Для текущего ruby-mongrel_cluster-1.0.5-alt4 в /usr/bin/mongrel_cluster_ctl предлагается нерабочий вариант получения подсказки:

  $ mongrel_cluster_ctl
  mongrel_cluster_ctl: not enough arguments
  Try `mongrel_cluster_ctl --help' for more information.

Но: 
  $ mongrel_cluster_ctl --help
  mongrel_cluster_ctl: invalid command '--help'
  Try `mongrel_cluster_ctl --help' for more information.

Также:
  $ mongrel_cluster_ctl foo
  mongrel_cluster_ctl: invalid command 'foo'
  Try `mongrel_cluster_ctl --help' for more information.

Работают только вызовы вида
  $ ./mongrel_cluster_ctl start --help
  mongrel_cluster_ctl - Mongrel Cluster Controller

  Usage: mongrel_cluster_ctl COMMAND [OPTIONS]
  .....
Comment 1 Repository Robot 2010-07-23 18:18:17 MSD
ruby-mongrel_cluster-1.0.5-alt5 -> sisyphus:

* Fri Jul 23 2010 Alexey I. Froloff <raorn@altlinux> 1.0.5-alt5
- Fixed usage output to match expected arguments (closes: #23799)
- Fixed debug option processing (closes: #23800)