File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ pub(crate) enum Opt {
135135 /// Change host specification
136136 Edit ( EditOpts ) ,
137137 /// Display status
138+ ///
139+ /// This will output a YAML-formatted object using a schema intended to match a Kubernetes resource
140+ /// that describes the state of the booted container.
141+ /// The exact API format is not currently declared stable.
138142 Status ( StatusOpts ) ,
139143 /// Add a transient writable overlayfs on `/usr` that will be discarded on reboot.
140144 #[ clap( alias = "usroverlay" ) ]
Original file line number Diff line number Diff line change @@ -253,6 +253,8 @@ pub(crate) async fn status(opts: super::cli::StatusOpts) -> Result<()> {
253253 host
254254 } ;
255255
256+ eprintln ! ( "note: The format of this API is not yet stable" ) ;
257+
256258 // If we're in JSON mode, then convert the ostree data into Rust-native
257259 // structures that can be serialized.
258260 // Filter to just the serializable status structures.
You can’t perform that action at this time.
0 commit comments