aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-05-16 18:20:25 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-05-16 18:20:25 +0200
commit6d095aca7f59dff26df0e2b5283d926feff5b477 (patch)
treeda26b56719aefee7eec5b81a47b6b6ad49125437 /lib
parentMove help and version functions to main (out of Configuration) (diff)
downloadsmolbote-6d095aca7f59dff26df0e2b5283d926feff5b477.tar.xz
Plugin command-line parameters
Diffstat (limited to 'lib')
-rw-r--r--lib/configuration/configuration.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp
index def997d..f2ec417 100644
--- a/lib/configuration/configuration.cpp
+++ b/lib/configuration/configuration.cpp
@@ -50,6 +50,9 @@ Configuration::Configuration()
("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")
+ ("command", po::value<std::string>(), "Run a plugin command")
+ ("commands", "List all plugin commands")
+
("url", po::value<std::vector<std::string>>(), "URLs")
;