Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340296 - Command providers to provide help for individual command
Summary: Command providers to provide help for individual command
Status: CLOSED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: 3.7 M7   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 335035
Blocks:
  Show dependency tree
 
Reported: 2011-03-17 06:01 EDT by Lazar Kirchev CLA
Modified: 2011-04-01 16:09 EDT (History)
3 users (show)

See Also:


Attachments
Proposed patch for ProvCommandProvider, providing help for individual commands (18.64 KB, patch)
2011-03-28 07:15 EDT, Lazar Kirchev CLA
pascal: iplog+
Details | Diff
Proposed patch for ConfiguratorCommandProvider, providing help for individual commands (2.83 KB, patch)
2011-03-28 07:17 EDT, Lazar Kirchev CLA
pascal: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!