From ae2729c88fc74482614048f88d2cb6ff2be54152 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Thu, 3 May 2018 13:09:03 -0700 Subject: [PATCH] add info to command list, usage typoes --- app/cli/main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/cli/main.go b/app/cli/main.go index a058938..b761fb5 100644 --- a/app/cli/main.go +++ b/app/cli/main.go @@ -14,6 +14,7 @@ var suggestions = []prompt.Suggest{ {Text: "new-profile", Description: "create a new profile"}, {Text: "load-profile", Description: "load a new profile"}, {Text: "quit", Description: "quit cwtch"}, + {Text: "info", Description: "show user info"}, {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: "contacts", Description: "retrieve a list of contacts"}, @@ -30,13 +31,14 @@ var suggestions = []prompt.Suggest{ } var usages = map[string]string{ - "new-profile": "newprofile [name] [filename]", - "load-profile": "loadprofile [filename]", + "new-profile": "new-profile [name] [filename]", + "load-profile": "load-profile [filename]", "quit": "", "servers": "", "peers": "", "contacts": "", "groups": "", + "info": "", "send": "send [groupid] [message]", "timeline": "timeline [groupid]", "accept-invite": "accept-invite [groupid]",