enum elements in helptext?

Dec 19, 2012 at 7:22 PM

Is there a way to have the autobuilt helptext list the different elements of an enum option?


  -l, --logmode    The type of logging to use.
				console: Log directly back to console.
				database: Log to database.
				file: Log to file.


Or at the least,


-l, --logmode	The type of logging to use.
		Available options: console, database, file


Excellent library, by the way!! :)


Feb 24, 2013 at 5:47 AM
Glad you like my work and the one of contributors.

The wiki is very up to date and recently update in the help screen topic.

Take a look:


Everything is customizable. AutoBuild work in data-driven way. Try pass to it a different error formatting lambda.

Did this help you? If not let me know.

Oct 27, 2014 at 10:31 PM
mcassidy: Did you by any chance figure out how to display enum values in help text for option info? I can't figure out how to do this. Checked the wiki, but did not see anything obvious. A sample would be really helpful.