Skip to content

Commit 5e39760

Browse files
committed
- [*] amend cmd esc help
1 parent b07cedb commit 5e39760

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.e.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
The `jsonfiddle` makes it easy to look at the JSON data from different aspects.
1414

15+
- **`jsonfiddle esc`** will escape any arbitrary string so as to embed it as content of json string.
1516
- **`jsonfiddle fmt`** will format the JSON data, either compact it or pretty printing it. The order of fields are intact.
1617
- **`jsonfiddle sort`** will sort the JSON data fields recursively, so that the attributes at any level are in sorted order.
1718
- **`jsonfiddle j2s`** means json to struct. It will extract the structure of JSON data as Go struct.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
The `jsonfiddle` makes it easy to look at the JSON data from different aspects.
4444

45+
- **`jsonfiddle esc`** will escape any arbitrary string so as to embed it as content of json string.
4546
- **`jsonfiddle fmt`** will format the JSON data, either compact it or pretty printing it. The order of fields are intact.
4647
- **`jsonfiddle sort`** will sort the JSON data fields recursively, so that the attributes at any level are in sorted order.
4748
- **`jsonfiddle j2s`** means json to struct. It will extract the structure of JSON data as Go struct.
@@ -65,15 +66,15 @@ Options:
6566

6667
Commands:
6768

68-
esc Escape json string so as to embed it as content of json string
69+
esc Escape json string
6970
fmt Format json string
7071
sort Sort json fields recursively
7172
j2s JSON to struct
7273
```
7374

7475
### $ jsonfiddle esc
7576
```sh
76-
Escape json string so as to embed it as content of json string
77+
Escape json string
7778

7879
Options:
7980

jsonfiddle.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Options:
3939
Command:
4040

4141
- Name: esc
42-
Desc: "Escape json string so as to embed it as content of json string"
42+
Desc: "Escape json string"
4343
NumOption: cli.AtLeast(1)
4444

4545
Options:

jsonfiddleCLIDef.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type escT struct {
9797

9898
var escDef = &cli.Command{
9999
Name: "esc",
100-
Desc: "Escape json string so as to embed it as content of json string",
100+
Desc: "Escape json string",
101101

102102
Argv: func() interface{} { return new(escT) },
103103
Fn: escCLI,

0 commit comments

Comments
 (0)