aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-13 06:32:14 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-13 06:50:03 +0300
commitf4da48a70e8b19acb556ede224ee905b564507f8 (patch)
treea6be0101f757bc0edda1dcd575421f60a0b20ade /README.md
parentTravis: switch to boost/build.py (diff)
downloadmath-server-f4da48a70e8b19acb556ede224ee905b564507f8.tar.gz
math-server-f4da48a70e8b19acb556ede224ee905b564507f8.zip
README: update
Diffstat (limited to '')
-rw-r--r--README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index a4eeafe..000d25f 100644
--- a/README.md
+++ b/README.md
@@ -16,9 +16,9 @@ Boost version 1.66 or higher is required.
Usage
-----
-### `server`
+### `math-server`
-If you just run `server`, it'll start a server on port 18000.
+If you just run `math-server`, it'll start a server on port 18000.
You can `telnet` to it, type in arithmetic expressions, and it'll give you the
results:
@@ -31,9 +31,9 @@ results:
1 / (-3 - -3)
server error: parser error: division by zero
-Consult `server --help` for more info.
+Consult `math-server --help` for more info.
-### `client`
+### `math-client`
A `telnet`-like client for the server.
It'll try to connect to the server on localhost:18000.
@@ -42,18 +42,18 @@ Supports reading input from:
* the command line,
- > client -c "2 * 2"
+ > math-client -c "2 * 2"
4
* a file(s),
- > client test.txt
+ > math-client test.txt
result1
result2
* stdin.
- > client
+ > math-client
1
1
2 * 2
@@ -63,7 +63,7 @@ Supports reading input from:
1 / (-3 - -3)
server error: parser error: division by zero
-Consult `client --help` for more info.
+Consult `math-client --help` for more info.
### Docker