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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user