From 04aa82555f0ca2ad7b29f525646aede3de3e7015 Mon Sep 17 00:00:00 2001 From: Aimee Ukasick Date: Wed, 23 Oct 2024 15:20:45 +0000 Subject: [PATCH] backport of commit 6a2e1e42165d2c32565121ebda49d231bd81c2bc --- website/content/docs/commands/job/tag.mdx | 28 ++++++++++++++++------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/website/content/docs/commands/job/tag.mdx b/website/content/docs/commands/job/tag.mdx index 345172d9218..f454f2b1463 100644 --- a/website/content/docs/commands/job/tag.mdx +++ b/website/content/docs/commands/job/tag.mdx @@ -22,12 +22,6 @@ following subcommands: nomad job tag [options] [args] ``` -## General options - -Use these optional general options with the subcommands. - -@include 'general_options.mdx' - ## Apply Use `job tag apply` to create or modify a version tag. @@ -38,6 +32,15 @@ Use `job tag apply` to create or modify a version tag. nomad job tag apply [options] ``` +### General options + +
+Expand for general options + +@include 'general_options.mdx' + +
+ ### Apply options - `name`: Specifies the name of the tag. Must be unique per job. @@ -69,9 +72,18 @@ Use `nomad job tag unset` to delete a tag from a version. This command requires ### Unset usage ```shell-session -nomad job tag unset [options] -name +nomad job tag unset [options] ``` +### General options + +
+Expand for general options + +@include 'general_options.mdx' + +
+ ### Unset options - `name`: Specifies the name of the tag to remove from the job version. @@ -81,7 +93,7 @@ nomad job tag unset [options] -name This example removes the `golden-version` tag from the `hello-world` job. ```shell-session -$ nomad job tag unset hello-world -name "golden-version" +$ nomad job tag unset -name "golden-version" hello-world ``` [diff]: /nomad/docs/commands/job/history/