From 06dece5acee40005f8f2de625bb5784fe97df8aa Mon Sep 17 00:00:00 2001 From: Agil Antony Date: Mon, 18 May 2026 17:51:15 +0530 Subject: [PATCH] ROX33164 Fixing DITA errors in cli/command-reference/roxctl-version.adoc --- cli/command-reference/roxctl-version.adoc | 15 +++++++-------- ...tions-inherited-from-the-parent-command.adoc | 1 + modules/roxctl-version-command-options.adoc | 9 +++++---- modules/roxctl-version-overview.adoc | 10 ++++++++++ modules/roxctl-version-usage.adoc | 17 +++++++++++++++++ 5 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 modules/roxctl-version-overview.adoc create mode 100644 modules/roxctl-version-usage.adoc diff --git a/cli/command-reference/roxctl-version.adoc b/cli/command-reference/roxctl-version.adoc index 53597c6cd3ea..449649fabaeb 100644 --- a/cli/command-reference/roxctl-version.adoc +++ b/cli/command-reference/roxctl-version.adoc @@ -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 diff --git a/modules/options-inherited-from-the-parent-command.adoc b/modules/options-inherited-from-the-parent-command.adoc index ac52a7e2a577..8d9a300bd144 100644 --- a/modules/options-inherited-from-the-parent-command.adoc +++ b/modules/options-inherited-from-the-parent-command.adoc @@ -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"] diff --git a/modules/roxctl-version-command-options.adoc b/modules/roxctl-version-command-options.adoc index bd23cf2d0934..8a62f53a2bf6 100644 --- a/modules/roxctl-version-command-options.adoc +++ b/modules/roxctl-version-command-options.adoc @@ -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`. |=== \ No newline at end of file diff --git a/modules/roxctl-version-overview.adoc b/modules/roxctl-version-overview.adoc new file mode 100644 index 000000000000..2e6837a06ed3 --- /dev/null +++ b/modules/roxctl-version-overview.adoc @@ -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. diff --git a/modules/roxctl-version-usage.adoc b/modules/roxctl-version-usage.adoc new file mode 100644 index 000000000000..7dc396ffd735 --- /dev/null +++ b/modules/roxctl-version-usage.adoc @@ -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] +----