Add doc about Ping cmd to README, change the internal data type of Ping cmd to Bytes, and rm unnecessary reference (#118)

This commit is contained in:
Ting Sun
2023-03-28 22:53:33 +08:00
committed by GitHub
parent aab4e39d97
commit b1e365b62f
7 changed files with 14 additions and 12 deletions

View File

@@ -28,7 +28,8 @@ struct Cli {
enum Command {
Ping {
/// Message to ping
msg: Option<String>,
#[clap(parse(from_str = bytes_from_str))]
msg: Option<Bytes>,
},
/// Get the value of key.
Get {