Add -f flag as option on rm.

Signed-off-by: Kingsley Kelly <kingsley.kelly@gmail.com>
This commit is contained in:
KingsleyKelly 2015-02-22 23:13:15 +00:00
commit fa195bc829
2 changed files with 8 additions and 2 deletions

View file

@ -238,8 +238,8 @@ class TopLevelCommand(Command):
Usage: rm [options] [SERVICE...]
Options:
--force Don't ask to confirm removal
-v Remove volumes associated with containers
-f, --force Don't ask to confirm removal
-v Remove volumes associated with containers
"""
all_containers = project.containers(service_names=options['SERVICE'], stopped=True)
stopped_containers = [c for c in all_containers if not c.is_running]