forked from cwtch.im/cwtch
add info to command list, usage typoes
This commit is contained in:
parent
9b7b25cbe8
commit
ae2729c88f
|
@ -14,6 +14,7 @@ var suggestions = []prompt.Suggest{
|
||||||
{Text: "new-profile", Description: "create a new profile"},
|
{Text: "new-profile", Description: "create a new profile"},
|
||||||
{Text: "load-profile", Description: "load a new profile"},
|
{Text: "load-profile", Description: "load a new profile"},
|
||||||
{Text: "quit", Description: "quit cwtch"},
|
{Text: "quit", Description: "quit cwtch"},
|
||||||
|
{Text: "info", Description: "show user info"},
|
||||||
{Text: "servers", Description: "retrieve a list of servers and their connection status"},
|
{Text: "servers", Description: "retrieve a list of servers and their connection status"},
|
||||||
{Text: "peers", Description: "retrieve a list of peers and their connection status"},
|
{Text: "peers", Description: "retrieve a list of peers and their connection status"},
|
||||||
{Text: "contacts", Description: "retrieve a list of contacts"},
|
{Text: "contacts", Description: "retrieve a list of contacts"},
|
||||||
|
@ -30,13 +31,14 @@ var suggestions = []prompt.Suggest{
|
||||||
}
|
}
|
||||||
|
|
||||||
var usages = map[string]string{
|
var usages = map[string]string{
|
||||||
"new-profile": "newprofile [name] [filename]",
|
"new-profile": "new-profile [name] [filename]",
|
||||||
"load-profile": "loadprofile [filename]",
|
"load-profile": "load-profile [filename]",
|
||||||
"quit": "",
|
"quit": "",
|
||||||
"servers": "",
|
"servers": "",
|
||||||
"peers": "",
|
"peers": "",
|
||||||
"contacts": "",
|
"contacts": "",
|
||||||
"groups": "",
|
"groups": "",
|
||||||
|
"info": "",
|
||||||
"send": "send [groupid] [message]",
|
"send": "send [groupid] [message]",
|
||||||
"timeline": "timeline [groupid]",
|
"timeline": "timeline [groupid]",
|
||||||
"accept-invite": "accept-invite [groupid]",
|
"accept-invite": "accept-invite [groupid]",
|
||||||
|
|
Loading…
Reference in New Issue