[Libreoffice-commits] online.git: tools/Config.cpp
Pranav Kant
pranavk at collabora.co.uk
Tue Feb 13 07:03:37 UTC 2018
tools/Config.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 463fc6044021b94440701bd80fb7a9a7ee0ae2d0
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Tue Feb 13 12:33:01 2018 +0530
loolconfig: set-raw-config -> set
Change-Id: I7821bcf7bf8a6b8247e824d18b1d9f29b8db8851
diff --git a/tools/Config.cpp b/tools/Config.cpp
index 79f4398b..b5c815af 100644
--- a/tools/Config.cpp
+++ b/tools/Config.cpp
@@ -102,7 +102,7 @@ void Config::displayHelp()
#if ENABLE_SUPPORT_KEY
<< " set-support-key\n"
#endif
- << " set-raw-config <key> <value>" << std::endl;
+ << " set <key> <value>" << std::endl;
}
void Config::defineOptions(OptionSet& optionSet)
@@ -299,7 +299,7 @@ int Config::main(const std::vector<std::string>& args)
changed = true;
}
#endif
- else if (args[0] == "set-raw-config")
+ else if (args[0] == "set")
{
if (args.size() == 3)
{
@@ -317,9 +317,9 @@ int Config::main(const std::vector<std::string>& args)
std::cerr << "No property, \"" << args[1] << "\"," << " found in config file." << std::endl;
}
else
- std::cerr << "set-raw-config expects a key and value as arguments" << std::endl
+ std::cerr << "set expects a key and value as arguments" << std::endl
<< "Eg: " << std::endl
- << " set-raw-config logging.level trace" << std::endl;
+ << " set logging.level trace" << std::endl;
}
else
More information about the Libreoffice-commits
mailing list