docs(docker_compose_v2): add note about -y flag

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Jonas Geiler 2025-03-10 22:01:21 +01:00 committed by GitHub
parent 9e0843eed4
commit e9376341f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -537,6 +537,7 @@ class ServicesManager(BaseComposeManager):
if dry_run:
args.append('--dry-run')
if self.yes:
# Note that the long form is '--y', and not '--yes' as one would expect. Since this looks like a bug we're using the short form.
args.append('-y')
args.append('--')
for service in self.services: