@@ -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