diff --git a/docs/cli.md b/docs/cli.md index 61dda1b37..1bfd66075 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -108,11 +108,11 @@ The following flags are supported in the CLI: | `--additional-properties` | | `false` | Allow arbitrary properties for all schema objects without `additionalProperties: false` | | `--alphabetize` | | `false` | Sort types alphabetically | | `--array-length` | | `false` | Generate tuples using array `minItems` / `maxItems` | -| `--default-non-nullable` | | `false` | Treat schema objects with default values as non-nullable | +| `--default-non-nullable` | | `true` | Treat schema objects with default values as non-nullable (with the exception of parameters) | | `--properties-required-by-default` | | `false` | Treat schema objects without `required` as having all properties required. | | `--empty-objects-unknown` | | `false` | Allow arbitrary properties for schema objects with no specified properties, and no specified `additionalProperties` | | `--enum` | | `false` | Generate true [TS enums](https://www.typescriptlang.org/docs/handbook/enums.html) rather than string unions. | -| `--enum-values` | | `false` | Export enum values as arrays. | +| `--enum-values` | | `false` | Export enum values as arrays. | | `--exclude-deprecated` | | `false` | Exclude deprecated fields from types | | `--export-type` | `-t` | `false` | Export `type` instead of `interface` | | `--immutable` | | `false` | Generates immutable types (readonly properties and readonly array) |