Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 7 additions & 8 deletions cli/command-reference/roxctl-version.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ include::modules/common-attributes.adoc[]

toc::[]

Display the current roxctl version.
[role="_abstract"]
Use the `roxctl version` command to display the current roxctl version.

.Usage
//roxctl version overview
include::modules/roxctl-version-overview.adoc[leveloffset=+1]

[source,terminal]
----
$ roxctl version [flags]
----
//roxctl version command options
include::modules/roxctl-version-command-options.adoc[leveloffset=+1]
include::modules/roxctl-version-usage.adoc[leveloffset=+2]

include::modules/roxctl-version-command-options.adoc[leveloffset=+2]

//Options inherited from the parent command
:commandname: roxctl version
Expand Down
1 change: 1 addition & 0 deletions modules/options-inherited-from-the-parent-command.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ endif::[]
[id="options-inherited-from-the-parent-command_{context}"]
= {commandname} command options inherited from the parent command

[role="_abstract"]
The `{commandname}` command supports the following options inherited from the parent `roxctl` command:

[cols="2,2",options="header"]
Expand Down
9 changes: 5 additions & 4 deletions modules/roxctl-version-command-options.adoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
// Module included in the following assemblies:
//
// * command-reference/roxctl-version.adoc
// * cli/command-reference/roxctl-version.adoc

:_mod-docs-content-type: REFERENCE
[id="roxctl-version-command-options_{context}"]
= roxctl version command options
= Options

The `roxctl version` command supports the following option:
[role="_abstract"]
Options for the `roxctl version` command.

[cols="2,2",options="header"]
|===
|Option |Description

|`--json`
|`--json`
|Display the extended version information as JSON. The default value is `false`.
|===
10 changes: 10 additions & 0 deletions modules/roxctl-version-overview.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Module included in the following assemblies:
//
// * cli/command-reference/roxctl-version.adoc

:_mod-docs-content-type: CONCEPT
[id="roxctl-version-overview_{context}"]
= roxctl version

[role="_abstract"]
Display the current roxctl version.
17 changes: 17 additions & 0 deletions modules/roxctl-version-usage.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Module included in the following assemblies:
//
// * cli/command-reference/roxctl-version.adoc

:_mod-docs-content-type: REFERENCE
[id="roxctl-version-usage_{context}"]
= roxctl version usage

[role="_abstract"]
Usage syntax for the `roxctl version` command.

.Usage

[source,terminal]
----
$ roxctl version [flags]
----