From 6d095aca7f59dff26df0e2b5283d926feff5b477 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 16 May 2018 18:20:25 +0200 Subject: Plugin command-line parameters --- lib/configuration/configuration.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/configuration/configuration.cpp') 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()->default_value(defaultUserConfigLocation()), "Set the configuration file.") ("socket,s", po::value()->default_value(defaultSocketPath()), "Local server socket") + ("command", po::value(), "Run a plugin command") + ("commands", "List all plugin commands") + ("url", po::value>(), "URLs") ; -- cgit v1.2.1