Skip to content

Commit

Permalink
Merge pull request #246 from cgwalters/doc-check-fetch
Browse files Browse the repository at this point in the history
cli: Document that check doesn't fetch layers
  • Loading branch information
cgwalters committed Jan 2, 2024
2 parents d2a2326 + 6021747 commit 6656dab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ pub(crate) struct UpgradeOpts {
pub(crate) touch_if_changed: Option<Utf8PathBuf>,

/// Check if an update is available without applying it.
///
/// This only downloads an updated manifest and image configuration (i.e. typically kilobyte-sized metadata)
/// as opposed to the image layers.
#[clap(long, conflicts_with = "apply")]
pub(crate) check: bool,

Expand Down

0 comments on commit 6656dab

Please sign in to comment.