Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340296

Summary: Command providers to provide help for individual command
Product: [Eclipse Project] Equinox Reporter: Lazar Kirchev <l.kirchev>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: katya.stoycheva, pascal, tjwatson
Version: 3.7   
Target Milestone: 3.7 M7   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 335035    
Bug Blocks:    
Attachments:
Description Flags
Proposed patch for ProvCommandProvider, providing help for individual commands
pascal: iplog+
Proposed patch for ConfiguratorCommandProvider, providing help for individual commands pascal: iplog+

Description Lazar Kirchev CLA 2011-03-17 06:01:45 EDT
Currently command providers provide help for all their commands and it is not possible to get the help message for an individual command.

In relation to bug 335035, the command providers should be able to provide help
for a single command also.
Comment 1 Pascal Rapicault CLA 2011-03-17 09:41:05 EDT
Patch welcome :)
Comment 2 Lazar Kirchev CLA 2011-03-28 07:15:33 EDT
Created attachment 191994 [details]
Proposed patch for ProvCommandProvider, providing help for individual commands

The patch provides functionality for getting help for a particular command, provided by ProvCommandProvider.

It also solves the problem with the carriage return, described in bug 335814, by using "\r\n" for new line.
Comment 3 Lazar Kirchev CLA 2011-03-28 07:17:25 EDT
Created attachment 191995 [details]
Proposed patch for ConfiguratorCommandProvider, providing help for individual commands

Similar to patch 191994, but for ConfiguratorCommandProvider.
Comment 4 Pascal Rapicault CLA 2011-04-01 16:07:36 EDT
Patch applied. Thx for the contrib!