cli: fix operator snapshot save help output examples. (#19606)

This commit is contained in:
James Rasell
2024-01-05 07:43:12 +00:00
committed by GitHub
parent a5881963dd
commit 2abbd7e485

View File

@@ -30,12 +30,12 @@ Usage: nomad operator snapshot save [options] <file>
To create a snapshot from the leader server and save it to "backup.snap":
$ nomad snapshot save backup.snap
$ nomad operator snapshot save backup.snap
To create a potentially stale snapshot from any available server (useful if no
leader is available):
$ nomad snapshot save -stale backup.snap
$ nomad operator snapshot save -stale backup.snap
This is useful for situations where a cluster is in a degraded state and no
leader is available. To target a specific server for a snapshot, you can run