cli: Fix help indentation format on node meta commands. (#25851)

This commit is contained in:
James Rasell
2025-05-14 14:53:48 +01:00
committed by GitHub
parent 8a5a057d88
commit ef25c3d55a
2 changed files with 6 additions and 6 deletions

View File

@@ -17,10 +17,10 @@ func (c *NodeMetaCommand) Help() string {
helpText := `
Usage: nomad node meta [subcommand]
Interact with a node's metadata. The apply subcommand allows for dynamically
updating node metadata. The read subcommand allows reading all of the
metadata set on the client. All commands interact directly with a client and
allow setting a custom target with the -node-id option.
Interact with a node's metadata. The apply subcommand allows for dynamically
updating node metadata. The read subcommand allows reading all of the
metadata set on the client. All commands interact directly with a client and
allow setting a custom target with the -node-id option.
Please see the individual subcommand help for detailed usage information.
`

View File

@@ -20,8 +20,8 @@ func (c *NodeMetaApplyCommand) Help() string {
helpText := `
Usage: nomad node meta apply [-node-id ...] [-unset ...] key1=value1 ... kN=vN
Modify a node's metadata. This command only applies to client agents, and can
be used to update the scheduling metadata the node registers.
Modify a node's metadata. This command only applies to client agents, and can
be used to update the scheduling metadata the node registers.
Changes are batched and may take up to 10 seconds to propagate to the
servers and affect scheduling.