From 5224e24725df32cb8fab691ba415573c75899564 Mon Sep 17 00:00:00 2001 From: einisto <79069176+einisto@users.noreply.github.com> Date: Sun, 17 Jul 2022 20:58:45 +0300 Subject: [PATCH] More detailed usage-section --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d92b102..ba5f18a 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ cargo build --release ./target/release/fragilebyte ``` +If no options are specified the app starts as a server by default. It can be started as a client by defining a target address as shown below. + ```shell USAGE: fragilebyte [OPTIONS] @@ -36,7 +38,7 @@ OPTIONS: -t, --target Server's address when connecting as a client --timeout Seconds of inactivity after which the server closes itself [default: 30] - -V, --version Print version informatio + -V, --version Print version information ``` ### Dependencies