Overview
Features
Download
Documentation
Community
Add-Ons & Services

Option default value

Discussion of ideas for features and new projects based on POCO.

Option default value

Postby eran » 23 May 2007, 21:56

It would be nice to be able to set an optional varialbe with a default value:

options_.addOption(Poco: :Util: :Option("Id", "I", "Unique system-wide process ID")
.required(false)
.repeatable(false)
.argument("value")
.binding("application.Id"))
.default("SomeName");

Thanks,

EHL
eran
 
Posts: 8
Joined: 26 Dec 2006, 04:33
Location: United_States

Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

cron