Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gen
  • Loading branch information
johnstcn committed Apr 5, 2023
commit 747e63f454b229ee8a62727b970d455404f6ef19
4 changes: 2 additions & 2 deletions cli/testdata/coder_version_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Usage: coder version [flags]
Show coder version

Options
--json bool
Emit version information in machine-readable JSON format.
-o, --output string (default: text)
Output format. Available formats: text, json.

---
Run `coder --help` for a list of global options.
11 changes: 6 additions & 5 deletions docs/cli/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ coder version [flags]

## Options

### --json
### -o, --output

| | |
| ---- | ----------------- |
| Type | <code>bool</code> |
| | |
| ------- | ------------------- |
| Type | <code>string</code> |
| Default | <code>text</code> |

Emit version information in machine-readable JSON format.
Output format. Available formats: text, json.