diff options
author | Simon Rettberg | 2022-09-29 15:17:08 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-09-29 15:17:08 +0200 |
commit | 4ceb8bac28941da3e18076020f327347cad766ea (patch) | |
tree | 7642f9e30d3137445eec4b3000410409c7ce964e /src/config.cpp | |
parent | Support wildcards * and ? in ldap filters (diff) | |
download | vmchooser2-4ceb8bac28941da3e18076020f327347cad766ea.tar.gz vmchooser2-4ceb8bac28941da3e18076020f327347cad766ea.tar.xz vmchooser2-4ceb8bac28941da3e18076020f327347cad766ea.zip |
Add option to force honoring --tab, fuzzy match on selectSession()
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp index 0d4a72d..ca83bfc 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -56,6 +56,7 @@ const ConfigOption* const Config::PVS_CHECKED = new ConfigOption("", "pvs-checke const ConfigOption* const Config::RUNSCRIPT = new ConfigOption("S", "runscript", "runscript", "path", RUN_VIRT_PATH, "Path to run-virt script"); const ConfigOption* const Config::WINDOW_SIZE = new ConfigOption("s", "size", "size", "WxH", "640x480", "Size of window if not using fullscreen"); const ConfigOption* const Config::DEFAULT_TAB = new ConfigOption("T", "tab", "tab", "tabno", "2", "Default tab to show, first tab being 0"); +const ConfigOption* const Config::FORCE_DEFAULT_TAB = new ConfigOption("", "force-tab", "force-tab", "", "", "Force the default tab to be shown, even if saved session is available"); const ConfigOption* const Config::THEME = new ConfigOption("t", "theme", "theme", "name", "", "Name of theme to load"); const ConfigOption* const Config::URL_BASE = new ConfigOption("u", "url", "url", "url", "", "Base URL path to fetch resources from"); const ConfigOption* const Config::URL_LIST = new ConfigOption("", "url-list", "url-list", "url", "", "Use this URL for the VM list instead of <urlbase>/list"); |