Skip to content

Commit cc952c2

Browse files
committed
cli: hide --soft-reboot as ostree side needs further stabilization
ostreedev/ostree#3503 Signed-off-by: Joseph Marrero Corchado <[email protected]>
1 parent 662cdee commit cc952c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/lib/src/cli.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub(crate) struct UpgradeOpts {
8585
///
8686
/// 'required' will fail if soft reboot is not available.
8787
/// 'auto' will use soft reboot if available, otherwise fall back to regular reboot.
88-
#[clap(long = "soft-reboot", conflicts_with = "check")]
88+
#[clap(long = "soft-reboot", conflicts_with = "check", hide = true)]
8989
pub(crate) soft_reboot: Option<SoftRebootMode>,
9090

9191
#[clap(flatten)]
@@ -111,7 +111,7 @@ pub(crate) struct SwitchOpts {
111111
///
112112
/// 'required' will fail if soft reboot is not available.
113113
/// 'auto' will use soft reboot if available, otherwise fall back to regular reboot.
114-
#[clap(long = "soft-reboot")]
114+
#[clap(long = "soft-reboot", hide = true)]
115115
pub(crate) soft_reboot: Option<SoftRebootMode>,
116116

117117
/// The transport; e.g. oci, oci-archive, containers-storage. Defaults to `registry`.
@@ -162,7 +162,7 @@ pub(crate) struct RollbackOpts {
162162
///
163163
/// 'required' will fail if soft reboot is not available.
164164
/// 'auto' will use soft reboot if available, otherwise fall back to regular reboot.
165-
#[clap(long = "soft-reboot")]
165+
#[clap(long = "soft-reboot", hide = true)]
166166
pub(crate) soft_reboot: Option<SoftRebootMode>,
167167
}
168168

0 commit comments

Comments
 (0)