Skip to content

Commit

Permalink
Rewrite manual in mdoc(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmulder committed Jul 30, 2018
1 parent 013d46a commit fb710a4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Date: TBD

* Changed: rewritten Makefile
* Changed: reorganised documentation files
* Changed: rewrote manual page in mdoc(1)
* Removed: command line options. Any flag-like argument will cause the
version and usage information to be printed.

Expand Down
32 changes: 23 additions & 9 deletions json-yaml.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
.TH JSON-YAML 1 2016-04-28
.SH NAME
json-yaml \- convert JSON to YAML
.SH SYNOPSIS
.B json-yaml [FILE]
.SH DESCRIPTION
Convert JSON to YAML. Uses standard output if no filename is supplied.
.SH AUTHOR
Sijmen Mulder <ik@sjmulder.nl>
.Dd July 30, 2018
.Dt JSON-YAML 1
.Os
.Sh NAME
.Nm json-yaml
.Nd convert JSON to YAML
.Sh SYNOPSIS
.Nm
.Op Ar file
.Sh DESCRIPTION
Convert JSON to YAML.
Uses standard output if no filename is supplied.
.Sh EXAMPLES
Convert a file:
.Pp
.Dl json-yaml sample.json
.Pp
Piping from a web API call:
.Pp
.Dl curl -s http://api.icndb.com/jokes/random | json-yaml
.Sh AUTHORS
.An Sijmen J. Mulder
.Aq Mt ik@sjmulder.nl

0 comments on commit fb710a4

Please sign in to comment.