Bug #13321

Deprecate mco help <agent>

Added by R.I. Pienaar about 1 year ago. Updated about 1 year ago.

Status:RejectedStart date:03/22/2012
Priority:NormalDue date:
Assignee:Pieter Loubser% Done:

0%

Category:Plugins
Target version:1.3.x
Keywords: Affected mCollective version:
Branch:

Description

At the moment mco help rndc and mco plugin doc rndc does the same thing, we should deprecate the mco help way of doing it.

Please update the help application to print a nice error message, something like:

abort("Please use 'mco plugin help $agent' to view documentation for an agent")

replace $agent with whatever they asked for on the mco help command line

History

#1 Updated by Anonymous about 1 year ago

https://github.com/ploubser/marionette-collective/tree/bug/master/13321

#2 Updated by R.I. Pienaar about 1 year ago

To clarify,

  • “mco help” should keep showing the list of application plugins with their decriptions
  • “mco plugin doc agent” should show the DDL based help
  • “mco plugin doc” without specifying an agent name should result in an error message

#3 Updated by R.I. Pienaar about 1 year ago

  • Status changed from Accepted to Rejected

I am going to reject this ticket in favor for #13350 since this middle step would be pointless

Also available in: Atom PDF