cli/command/container: deprecate NewStartOptions

It's unused in the CLI itself, and does nothing other than
initializing a new, empty StartOptions struct.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2023-07-19 14:12:07 +02:00
parent 9b79cbac0b
commit 298bddcc23
+3 -1
View File
@@ -27,7 +27,9 @@ type StartOptions struct {
Containers []string
}
// NewStartOptions creates a new StartOptions
// NewStartOptions creates a new StartOptions.
//
// Deprecated: create a new [StartOptions] directly.
func NewStartOptions() StartOptions {
return StartOptions{}
}