diff --git a/README.md b/README.md index 84bb892..a19b5ad 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Receives a JSON string and outputs it as a Golang struct definition. ### Options Option | Description | Default --------------------------------- | -------------------------------------------------------------------------------- | --------------- +---------------------------------- | -------------------------------------------------------------------------------- | --------------- `-h`, `--help` | Show this help message and exit | `-v`, `--version` | Show version and exit | `-n`, `--name ` | Specify the name of the root struct. Converts to camel case automatically. | `AutoGenerated` @@ -52,8 +52,8 @@ Option | Description `-a`, `--null-as ` | Specify the null-type name. Used to replace `null` type from json. | `interface{}` `-j`, `--json ` | Specify the JSON string to be converted to a struct. | `-p`, `--pipe` | Receive JSON from a pipe instead of a direct argument above all else. | `false` -`--pointer` `` | Define struct and array fields as pointers. | `off` -`--pager` `` | Prevents usage of a pager even if output exceeds terminal size. (auto|no) | `auto` +`--pointer` `` | Define struct and array fields as pointers. | `off` +`--pager` `` | Prevents usage of a pager even if output exceeds terminal size. (auto\|no) | `auto` `--outline` | Defines struct and array fields as outline struct. (default: true). | `true` `--inline` | Defines struct and array fields as inline struct. (default: false) | `false` @@ -68,7 +68,7 @@ Option | Description ### Environments Environment | Description | Default --------------------------------- | ----------------------------------------------------------------------------------- | --------------- +---------------------------------- | ----------------------------------------------------------------------------------- | --------------- `KIRKE_DEFAULT_ROOT_NAME` | Specified default used ``. | `AutoGenerated` `KIRKE_DEFAULT_NULL_AS` | Specified default used ``. | `interface{}` `KIRKE_DEFAULT_OUTPUT_MODE` | Specified the default used output mode. Only `outline` and `inline` are valid. | `outline`