Browse code

Fish completion lists all containers on "docker rm -f"

Signed-off-by: Frederik Nordahl Jul Sabroe <frederikns@gmail.com>

Frederik Nordahl Jul Sabroe authored on 2016/02/13 02:39:12
Showing 1 changed files
... ...
@@ -290,6 +290,7 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from rm' -l help -d 'Print u
290 290
 complete -c docker -A -f -n '__fish_seen_subcommand_from rm' -s l -l link -d 'Remove the specified link and not the underlying container'
291 291
 complete -c docker -A -f -n '__fish_seen_subcommand_from rm' -s v -l volumes -d 'Remove the volumes associated with the container'
292 292
 complete -c docker -A -f -n '__fish_seen_subcommand_from rm' -a '(__fish_print_docker_containers stopped)' -d "Container"
293
+complete -c docker -A -f -n '__fish_seen_subcommand_from rm' -s f -l force -a '(__fish_print_docker_containers all)' -d "Container"
293 294
 
294 295
 # rmi
295 296
 complete -c docker -f -n '__fish_docker_no_subcommand' -a rmi -d 'Remove one or more images'