Commit 5baa0736 authored by Dominik Charousset's avatar Dominik Charousset

use raw string literals for usage strings

parent 655a7022
...@@ -10,23 +10,26 @@ using namespace std; ...@@ -10,23 +10,26 @@ using namespace std;
using namespace cppa; using namespace cppa;
using namespace cppa::placeholders; using namespace cppa::placeholders;
static const char* s_usage = static const char* s_usage = R"___(
"Usage: distributed_math_actor_example [OPTIONS] \n" Usage: distributed_math_actor_example [OPTIONS]
" \n"
" General options: \n" General options:
" -h | --help Print this text and quit \n" -h | --help Print this text and quit
" -v | --version Print the program version and quit \n" -v | --version Print the program version and quit
" -s | --server Run in server mode \n" -s | --server Run in server mode
" -c | --client Run in client mode \n" -c | --client Run in client mode
" -p <arg> | --port=<arg> Publish actor at port <arg> (server) \n" -p <arg> | --port=<arg> Publish actor at port <arg> (server)
" Connect to remote actor at port <arg> (client) \n" Connect to remote actor at port <arg> (client)
" Client options: \n" Client options:
" -t <arg> | --host=<arg> Connect to host <arg>, default: localhost \n"; -t <arg> | --host=<arg> Connect to host <arg>, default: localhost
)___";
static const char* s_interactive_usage = R"___(
quit Quit the program
<x> + <y> Calculate <x>+<y> and print result
<x> - <y> Calculate <x>-<y> and print result
)___";
static const char* s_interactive_usage =
"quit Quit the program \n"
"<x> + <y> Calculate <x>+<y> and print result \n"
"<x> - <y> Calculate <x>-<y> and print result \n";
static const char* s_version = static const char* s_version =
"libcppa distributed math actor example version 1.0"; "libcppa distributed math actor example version 1.0";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment