MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000420JANAFeature Requestpublic2014-11-10 10:142015-06-05 10:50
Reporterdavidl 
Assigned Todavidl 
PrioritynormalSeverityminorReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0000420: add --listconfig more useful
DescriptionThe --dumpconfig option is somewhat limited in usefulness to find out what parameters exist since it needs to have an event source to run and most factories need to be activated in order to register their parameters. A "--listconfig" option could be used to activate all factories and dump the resulting list of all parameters to the screen in a way similar to --dumpconfig.

One could imagine two default behaviors:

1.) If no JEventProcessors are registered and no AUTOACTIVATE factories exist, then try activating all factories in order to get a complete list

2.) If at least one JEventProcessor exists or an AUTOACTIVATE factory is specified, then only print parameters registered via those.

This has the disadvantage of suppressing parameters from being registered/printed if something is *added* to the command line.

Perhaps one wants both a "--listconfig" and a "--listallconfig" option so that both behaviors are available and the user selects which they want(??)
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0000448resolveddavidl Easier way to print configuration parameters. 

-  Notes
(0000636)
davidl (administrator)
2015-06-05 10:49

This was implemented in revision 2331 and will appear in JANA 0.7.3.

It was not implemented exactly as described. Only a --listconfig options exists and it always automatically activates all factories. It also replaces the source source list with a dummy one and forces the use of the JEventSource_NULL source type with 1 thread and 1 event. This allows one to type the following to get a complete list:

hd_ana --listconfig

- Issue History
Date Modified Username Field Change
2014-11-10 10:14 davidl New Issue
2014-12-03 06:21 davidl Status new => assigned
2014-12-03 06:21 davidl Assigned To => davidl
2015-06-05 10:49 davidl Note Added: 0000636
2015-06-05 10:49 davidl Status assigned => resolved
2015-06-05 10:49 davidl Resolution open => fixed
2015-06-05 10:50 davidl Relationship added has duplicate 0000448


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker