From e286e15f9d10793525541e0d5c2648284a4ce825 Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Thu, 29 Mar 2018 17:41:53 +0200 Subject: [PATCH] Improve doc and help message. --- include/gepetto/gui/doc.hh | 4 ++++ src/gui/main.cc.in | 2 +- src/gui/settings.cc | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/gepetto/gui/doc.hh b/include/gepetto/gui/doc.hh index 1ab33e0..e0dbcec 100644 --- a/include/gepetto/gui/doc.hh +++ b/include/gepetto/gui/doc.hh @@ -10,6 +10,10 @@ /// To get some help on the command line options, use /// \code{bash} gepetto-gui --help \endcode /// +/// \section gui_settings Configuration files +/// +/// See gepetto::gui::Settings::readSettingFile for more details on configuration files. +/// /// \section gui_extending_interface Extending the interface /// /// There are two ways of extending the interface: Python and C++. Python diff --git a/src/gui/main.cc.in b/src/gui/main.cc.in index cf5bc14..2dd85cf 100644 --- a/src/gui/main.cc.in +++ b/src/gui/main.cc.in @@ -24,7 +24,7 @@ Q_DECLARE_METATYPE(QItemSelection) void setupApplication () { QCoreApplication::setOrganizationName("gepetto-gui"); - QCoreApplication::setOrganizationDomain("https://github.com/jmirabel/gepetto-viewer-corba"); + QCoreApplication::setOrganizationDomain("https://github.com/humanoid-path-planner/gepetto-viewer-corba"); QCoreApplication::setApplicationName("gepetto-gui"); QCoreApplication::setApplicationVersion("@PROJECT_VERSION@"); diff --git a/src/gui/settings.cc b/src/gui/settings.cc index 618cad8..0a752bd 100644 --- a/src/gui/settings.cc +++ b/src/gui/settings.cc @@ -94,7 +94,7 @@ namespace gepetto { osg::ApplicationUsage::Type help (arguments.readHelpType()); au->addCommandLineOption("-v or --verbose", "Activate verbose output"); - au->addCommandLineOption("-g or --generate-config-files", "generate configuration files and quit"); + au->addCommandLineOption("-g or --generate-config-files", "generate configuration files in " + installDirectory.toStdString() + "/etc and quit"); au->addCommandLineOption("-c or --config-file", "set the configuration file (do not include .conf)", configurationFile); au->addCommandLineOption("--predefined-robots", "set the predefined robots configuration file (do not include .conf)", predifinedRobotConf); au->addCommandLineOption("--predefined-environments", "set the predefined environments configuration file (do not include .conf)", predifinedEnvConf); -- GitLab