From c2e6657045c64ec0be5cf0175c041dfe380a6231 Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Tue, 13 Feb 2018 13:11:51 +0100 Subject: [PATCH] Fix parsing of arguments --- src/gui/settings.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/settings.cc b/src/gui/settings.cc index c8e3b64..7a80c37 100644 --- a/src/gui/settings.cc +++ b/src/gui/settings.cc @@ -127,9 +127,9 @@ namespace gepetto { addRobotFromString (opt); while (arguments.read ("--add-env", opt)) addEnvFromString (opt); - while (arguments.read ("--load-plugin", opt)) + while (arguments.read ("-p", opt) || arguments.read ("--load-plugin", opt)) addPlugin (QString::fromStdString(opt), !noPlugin); - while (arguments.read ("--load-pyplugin", opt)) + while (arguments.read ("-q", opt) || arguments.read ("--load-pyplugin", opt)) addPyPlugin (QString::fromStdString(opt), !noPlugin); if (arguments.read("-c", configurationFile) || arguments.read("--config-file", configurationFile)) {} -- GitLab