mirror of
https://github.com/docker/docs.git
synced 2026-04-13 06:46:36 +07:00
_docker_run and _docker_create had only one differing line. This refactoring features: - direct completion for both commands to the same function - factor out the common arguments, sort & format them nicely - compute the argument for _docker_pos_first_nonflag. Signed-off-by: Harald Albers <github@albersweb.de>