Skip to content

Commit

Permalink
website: better format example
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorg committed Sep 23, 2024
1 parent 65d870c commit 125cb75
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const Name = "murex"
const (
Major = 6
Minor = 3
Revision = 4247
Revision = 4248
Branch = "website"
BuildDate = "2024-09-23 16:17:32"
BuildDate = "2024-09-23 23:22:32"
)

// Copyright is the copyright owner string
Expand Down
10 changes: 6 additions & 4 deletions builtins/core/typemgmt/format_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
```
Examples: |-
```
» tout json { "One": 1, "Two": 2, "Three": 3 } -> format yaml
One: 1
Three: 3
Two: 2
» %{ One: 1, Two: 2, Three: 3 } -> format xml
<xml>
<One>1</One>
<Three>3</Three>
<Two>2</Two>
</xml>
```
Flags:
Detail:
Expand Down
10 changes: 6 additions & 4 deletions docs/commands/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ specified data-type
## Examples

```
» tout json { "One": 1, "Two": 2, "Three": 3 } -> format yaml
One: 1
Three: 3
Two: 2
» %{ One: 1, Two: 2, Three: 3 } -> format xml
<xml>
<One>1</One>
<Three>3</Three>
<Two>2</Two>
</xml>
```

## See Also
Expand Down
2 changes: 1 addition & 1 deletion version.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 125cb75

Please sign in to comment.