forked from cwtch.im/cwtch
Making copy and pasting from the cli easier
This commit is contained in:
parent
0cfd672c83
commit
af7f639744
|
@ -223,11 +223,11 @@ func main() {
|
|||
}
|
||||
case "contacts":
|
||||
for _, c := range app.Peer.Profile.Contacts {
|
||||
fmt.Printf("Name: %v, Onion: %v, Trusted: %v\n", c.Name, c.Onion, c.Trusted)
|
||||
fmt.Printf("Name: %v Onion: %v Trusted: %v\n", c.Name, c.Onion, c.Trusted)
|
||||
}
|
||||
case "groups":
|
||||
for gid, g := range app.Peer.Profile.Groups {
|
||||
fmt.Printf("Group Id: %v, Owner: %v Accepted:%v \n", gid, g.Owner, g.Accepted)
|
||||
fmt.Printf("Group Id: %v Owner: %v Accepted:%v \n", gid, g.Owner, g.Accepted)
|
||||
}
|
||||
case "trust":
|
||||
if len(commands) == 2 {
|
||||
|
|
Loading…
Reference in New Issue