Ask to minimize on Win32app close

This closes #413
This commit is contained in:
Mikhail Titov 2016-03-14 14:02:32 -05:00
parent 1a894abcff
commit 59f99ea9bb
2 changed files with 24 additions and 0 deletions

View file

@ -126,6 +126,7 @@ namespace config {
#ifdef _WIN32
("svcctl", value<std::string>()->default_value(""), "Windows service management ('install' or 'remove')")
("insomnia", value<bool>()->zero_tokens()->default_value(false), "Prevent system from sleeping")
("close", value<std::string>()->default_value("ask"), "On close action") // minimize, exit, ask TODO: add custom validator or something
#endif
;