update readme and help

develop
skanehira 5 years ago
parent f170037d81
commit d79b6e0a9d

@ -30,7 +30,7 @@ $ tson -url http://gorilla/likes/json
### JSON tree
| key | description |
|--------|---------------------------------------------|
|--------|------------------------------------|
| j | move down |
| k | move up |
| g | move to the top |
@ -46,7 +46,7 @@ $ tson -url http://gorilla/likes/json
| a | add new node |
| A | add new value |
| d | clear children nodes |
| e | edit json with $EDITOR(only when use --url) |
| e | edit json with $EDITOR(only Linux) |
| q | quit tson |
| Enter | edit node |
| / | search nodes |

@ -38,7 +38,7 @@ var (
addNewNode = fmt.Sprintf(RedColor, "a", " add new node")
addNewValue = fmt.Sprintf(RedColor, "A", " add new value")
clearChildrenNodes = fmt.Sprintf(RedColor, "d", " clear children nodes")
editNodes = fmt.Sprintf(RedColor, "e", " edit json with $EDITOR(only when use --url)")
editNodes = fmt.Sprintf(RedColor, "e", " edit json with $EDITOR(only linux)")
quitTson = fmt.Sprintf(RedColor, "q", " quit tson")
editNodeValue = fmt.Sprintf(RedColor, "Enter", "edit current node")
searchNodes = fmt.Sprintf(RedColor, "/", " search nodes")

Loading…
Cancel
Save