aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-28 10:21:47 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-28 10:21:47 +0200
commit0d93cf6fea0a5bae6bdf4adc15d5d6fd3306d0e6 (patch)
tree8055cb02033892be64b16221bd7710f8012bdeed /lib/configuration
parentSocket messages are json formatted (diff)
downloadsmolbote-0d93cf6fea0a5bae6bdf4adc15d5d6fd3306d0e6.tar.xz
Add --session parameter to load a session json
Add Session menu to main window
Diffstat (limited to 'lib/configuration')
-rw-r--r--lib/configuration/configuration.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp
index 0c49a83..769c003 100644
--- a/lib/configuration/configuration.cpp
+++ b/lib/configuration/configuration.cpp
@@ -50,6 +50,7 @@ Configuration::Configuration(QObject *parent)
("config,c", po::value<std::string>()->default_value(defaultUserConfigLocation()), "Set the configuration file.")
("socket,s", po::value<std::string>()->default_value(defaultSocketPath()), "Local server socket")
+ ("session", po::value<std::string>(), "Load session data from the specified path.")
("args", po::value<std::vector<std::string>>(), "arguments")
;