mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-07 00:57:22 +02:00
doc update
This commit is contained in:
@ -319,11 +319,11 @@ option.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Short | Long | Description |
|
| Short | Long | Description |
|
||||||
|-------|-----------------|---------------------------------------------------------------------------------------------------------------------|
|
|-------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
||||||
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
||||||
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
||||||
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation. Use twice to show hidden parsers (e.g. `-hh`) |
|
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation. Use twice to show hidden parsers (e.g. `-hh`). Use thrice to show parser categories (e.g. `-hhh`). |
|
||||||
| `-m` | `--monochrome` | Monochrome output |
|
| `-m` | `--monochrome` | Monochrome output |
|
||||||
| `-M` | `--meta-out` | Add metadata to output including timestamp, parser name, magic command, magic command exit code, etc. | |
|
| `-M` | `--meta-out` | Add metadata to output including timestamp, parser name, magic command, magic command exit code, etc. | |
|
||||||
| `-p` | `--pretty` | Pretty format the JSON output |
|
| `-p` | `--pretty` | Pretty format the JSON output |
|
||||||
|
4
man/jc.1
4
man/jc.1
@ -1,4 +1,4 @@
|
|||||||
.TH jc 1 2024-01-26 1.24.1 "JSON Convert"
|
.TH jc 1 2024-01-29 1.24.1 "JSON Convert"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types,
|
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types,
|
||||||
and strings
|
and strings
|
||||||
@ -1116,7 +1116,7 @@ Debug - show traceback (use \fB-dd\fP for verbose traceback)
|
|||||||
.B
|
.B
|
||||||
\fB-h\fP, \fB--help\fP
|
\fB-h\fP, \fB--help\fP
|
||||||
Help (\fB--help --parser_name\fP for parser documentation). Use twice to show
|
Help (\fB--help --parser_name\fP for parser documentation). Use twice to show
|
||||||
hidden parsers (e.g. \fB-hh\fP)
|
hidden parsers (e.g. \fB-hh\fP). Use thrice to show parser categories (e.g. \fB-hhh\fP).
|
||||||
.TP
|
.TP
|
||||||
.B
|
.B
|
||||||
\fB-m\fP, \fB--monochrome\fP
|
\fB-m\fP, \fB--monochrome\fP
|
||||||
|
@ -66,7 +66,7 @@ Debug - show traceback (use \fB-dd\fP for verbose traceback)
|
|||||||
.B
|
.B
|
||||||
\fB-h\fP, \fB--help\fP
|
\fB-h\fP, \fB--help\fP
|
||||||
Help (\fB--help --parser_name\fP for parser documentation). Use twice to show
|
Help (\fB--help --parser_name\fP for parser documentation). Use twice to show
|
||||||
hidden parsers (e.g. \fB-hh\fP)
|
hidden parsers (e.g. \fB-hh\fP). Use thrice to show parser categories (e.g. \fB-hhh\fP).
|
||||||
.TP
|
.TP
|
||||||
.B
|
.B
|
||||||
\fB-m\fP, \fB--monochrome\fP
|
\fB-m\fP, \fB--monochrome\fP
|
||||||
|
@ -160,11 +160,11 @@ option.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Short | Long | Description |
|
| Short | Long | Description |
|
||||||
|-------|-----------------|---------------------------------------------------------------------------------------------------------------------|
|
|-------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
| `-a` | `--about` | About `jc`. Prints information about `jc` and the parsers (in JSON or YAML, of course!) |
|
||||||
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
| `-C` | `--force-color` | Force color output even when using pipes (overrides `-m` and the `NO_COLOR` env variable) |
|
||||||
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
| `-d` | `--debug` | Debug mode. Prints trace messages if parsing issues are encountered (use`-dd` for verbose debugging) |
|
||||||
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation. Use twice to show hidden parsers (e.g. `-hh`) |
|
| `-h` | `--help` | Help. Use `jc -h --parser_name` for parser documentation. Use twice to show hidden parsers (e.g. `-hh`). Use thrice to show parser categories (e.g. `-hhh`). |
|
||||||
| `-m` | `--monochrome` | Monochrome output |
|
| `-m` | `--monochrome` | Monochrome output |
|
||||||
| `-M` | `--meta-out` | Add metadata to output including timestamp, parser name, magic command, magic command exit code, etc. | |
|
| `-M` | `--meta-out` | Add metadata to output including timestamp, parser name, magic command, magic command exit code, etc. | |
|
||||||
| `-p` | `--pretty` | Pretty format the JSON output |
|
| `-p` | `--pretty` | Pretty format the JSON output |
|
||||||
|
Reference in New Issue
Block a user