Skip to content

Commit

Permalink
updog: Update usage text
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Mendoza-Jonas <[email protected]>
  • Loading branch information
sam-aws committed Oct 16, 2019
1 parent 8449d06 commit 28522b5
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions workspaces/updater/updog/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,26 @@ USAGE:
SUBCOMMANDS:
check-update Show if an update is available
[ -a | --all ] Output all applicable updates
prepare Download update files and migration targets
update Perform an update if available
[ -i | --image version ] Update to a specfic image version
[ -n | --now ] Update immediately, ignoring wave limits
[ -r | --reboot ] Reboot into new update on success
[ -t | --timestamp time ] The timestamp from which to execute an update
update-image Download & write an update but do not update flags
update-apply Update boot flags and reboot
OPTIONS:
[ -i | --image version ] Update to a specfic image version
[ -n | --now ] Update immediately, ignoring wave limits
[ -t | --timestamp time ] The timestamp to execute an update from
update-apply Update boot flags (after having called update-image)
[ -r | --reboot ] Reboot after updating boot flags
GLOBAL OPTIONS:
[ -j | --json ] JSON-formatted output
[ -a | --all ] Output all applicable updates
[ -n | --now ] Update immediately, ignoring wave limits
[ -i | --image ] Update to a specfic image version
[ -r | --reboot ] Reboot upon updating boot flags
[ --verbose --verbose ... ] Increase log verbosity");
std::process::exit(1)
}
Expand Down

0 comments on commit 28522b5

Please sign in to comment.