CLI Flag 'false' value

Boolean flags can only take arguments via --flag=[true|false] or for short names (if available) -f=[true|false]. You cannot use --flag [true|false] nor can you use the shorthand -f [true|false] as it will result in the following error:

Error: accepts 1 arg(s), received 2

Example:

# disable reading .terraform.lock.hcl
$ terraform-docs markdown --lockfile=false /path/to/module

Edit on GitHub