summaryrefslogtreecommitdiffstats
path: root/src/Configuration.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-24 17:28:43 +0000
committerDavid Robillard <d@drobilla.net>2014-01-24 17:28:43 +0000
commita659a13c531e991851e013db3d4223bf16a343b8 (patch)
tree583112a95bc6abeb39dd514c987ff1c82b3d2e9e /src/Configuration.cpp
parent28ab52045a429eb190ea1a23cef92d81c36748f5 (diff)
downloadingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.gz
ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.bz2
ingen-a659a13c531e991851e013db3d4223bf16a343b8.zip
Fix various whitespace and formatting issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Configuration.cpp')
-rw-r--r--src/Configuration.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp
index 67899d9a..536be9d8 100644
--- a/src/Configuration.cpp
+++ b/src/Configuration.cpp
@@ -35,17 +35,17 @@ Configuration::Configuration(Forge& forge)
: _forge(forge)
, _shortdesc("A realtime modular audio processor.")
, _desc(
-"Ingen is a flexible modular system that be used in various ways.\n"
-"The engine can run as a stand-alone server controlled via network protocol,\n"
-"or internal to another process (e.g. the GUI). The GUI, or other clients,\n"
-"can communicate with the engine via any supported protocol, or run in the\n"
-"same process. Many clients can connect to an engine at once.\n\n"
-"Examples:\n"
-" ingen -e # Run an engine, listen for connections\n"
-" ingen -g # Run a GUI, connect to running engine\n"
-" ingen -eg # Run an engine and a GUI in one process\n"
-" ingen -egl foo.ttl # Run an engine and a GUI and load a graph\n"
-" ingen -egl foo.ingen # Run an engine and a GUI and load a graph")
+ "Ingen is a flexible modular system that be used in various ways.\n"
+ "The engine can run as a stand-alone server controlled via network protocol,\n"
+ "or internal to another process (e.g. the GUI). The GUI, or other clients,\n"
+ "can communicate with the engine via any supported protocol, or run in the\n"
+ "same process. Many clients can connect to an engine at once.\n\n"
+ "Examples:\n"
+ " ingen -e # Run an engine, listen for connections\n"
+ " ingen -g # Run a GUI, connect to running engine\n"
+ " ingen -eg # Run an engine and a GUI in one process\n"
+ " ingen -egl foo.ttl # Run an engine and a GUI and load a graph\n"
+ " ingen -egl foo.ingen # Run an engine and a GUI and load a graph")
, _max_name_length(0)
{
add("clientPort", "client-port", 'C', "Client port", SESSION, forge.Int, Atom());
@@ -97,7 +97,7 @@ Configuration::print_usage(const std::string& program, std::ostream& os)
os << "Options:" << std::endl;
for (auto o : _options) {
Option& option = o.second;
- os << " ";
+ os << " ";
if (option.letter != '\0')
os << "-" << option.letter << ", ";
else
@@ -240,7 +240,7 @@ Configuration::save(URIMap& uri_map,
const std::string dir = Glib::path_get_dirname(path);
if (g_mkdir_with_parents(dir.c_str(), 0755) < 0) {
throw FileError((fmt("Error creating directory %1% (%2%)")
- % dir % strerror(errno)).str());
+ % dir % strerror(errno)).str());
}
// Attempt to open file for writing
@@ -283,7 +283,7 @@ Configuration::save(URIMap& uri_map,
for (auto o : _options) {
const Atom& value = o.second.value;
if (!(o.second.scope & scopes) ||
- o.second.key.empty() ||
+ o.second.key.empty() ||
!value.is_valid()) {
continue;
}