Feature #1153

More helpful messages in CLI when arguments are missing

Added by Carlos Martín over 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:03/02/2012
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

0%

Category:CLI
Target version:Release 3.8
Resolution:fixed Pull request:

Description

Currently, this message is returned when the sub-command arguments are missing:

$ onevnet chgrp
Command chgrp requires 2 parameters to run.

Ideally, the same output used in onevnet help should be given:

$ onevnet chgrp
Changes the Virtual Network group.

Usage:
    chgrp <range|vnetid_list> <groupid>


Related issues

Related to Feature #1353: Improve CLI commands Closed 07/12/2012

Associated revisions

Revision e7dbab57
Added by Javi Fontan almost 9 years ago

feature #1153: help message is printed on error

History

#1 Updated by Javi Fontan almost 9 years ago

  • Status changed from New to Closed
  • Target version set to Release 3.8
  • Resolution set to fixed

Also available in: Atom PDF