Reverted an unwanted change + Applied cargo fmt.

This commit is contained in:
Mohammad Dashti
2023-10-06 13:29:48 -07:00
parent 50654c2ae9
commit 6bd37b6479
3 changed files with 31 additions and 34 deletions

View File

@@ -283,7 +283,8 @@ where
{
let mut res = BytesMut::new();
let detail_msg = ["",
let detail_msg = [
"",
"SHOW HELP|CONFIG|DATABASES|POOLS|CLIENTS|SERVERS|USERS|VERSION",
// "SHOW PEERS|PEER_POOLS", // missing PEERS|PEER_POOLS
// "SHOW FDS|SOCKETS|ACTIVE_SOCKETS|LISTS|MEM|STATE", // missing FDS|SOCKETS|ACTIVE_SOCKETS|MEM|STATE
@@ -299,7 +300,9 @@ where
// "RECONNECT [<db>]", missing
// "KILL <db>",
// "SUSPEND",
"SHUTDOWN"];
// "WAIT_CLOSE [<db>]", // missing
"SHUTDOWN",
];
res.put(notify("Console usage", detail_msg.join("\n\t")));
res.put(command_complete("SHOW"));