Skip to content

Commit

Permalink
corrected CLI documentation for -meta
Browse files Browse the repository at this point in the history
  • Loading branch information
cgbaker committed Apr 1, 2021
1 parent d7f3418 commit 70da448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/node_drain.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Node Drain Options:
Message for the drain update operation. Registered in drain metadata as
"message" for drain enable and "cancel_message" for drain disable.
--meta <key>=<value>
-meta <key>=<value>
Custom metadata to store on thed drain operation, can be used multiple times.
-self
Expand Down Expand Up @@ -105,7 +105,7 @@ func (c *NodeDrainCommand) AutocompleteFlags() complete.Flags {
"-ignore-system": complete.PredictNothing,
"-keep-ineligible": complete.PredictNothing,
"-m": complete.PredictNothing,
"--meta": complete.PredictNothing,
"-meta": complete.PredictNothing,
"-self": complete.PredictNothing,
"-yes": complete.PredictNothing,
})
Expand Down

0 comments on commit 70da448

Please sign in to comment.