mirror of
https://github.com/containers/podman.git
synced 2025-10-12 08:45:37 +08:00
Fixes: #26691
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com>
This commit is contained in:
@ -56,6 +56,9 @@ func waitFlags(cmd *cobra.Command) {
|
||||
conditionFlagName := "condition"
|
||||
flags.StringSliceVar(&waitOptions.Conditions, conditionFlagName, []string{}, "Condition to wait on")
|
||||
_ = cmd.RegisterFlagCompletionFunc(conditionFlagName, common.AutocompleteWaitCondition)
|
||||
|
||||
waitExitFirst := "exit-first-match"
|
||||
flags.BoolVar(&waitOptions.ExitFirstMatch, waitExitFirst, false, "Wait for exit of first container which matches conditions, ignore other ones")
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
Reference in New Issue
Block a user