Print only base binary name in usage string (win) by ahmetb · Pull Request #358 · boot2docker/boot2docker-cli

This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Conversation

When `boot2docker` is called from msys bash shell, usage string prints the
full path of the binary (e.g. `c:\program file\boot2docker for
windows\boot2docker.exe`) in the short usage string.

This change fixes that without breaking the behavior on unix systems or
cmd.exe/powershell on windows which already print the short binary name

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>

added a commit that referenced this pull request

Mar 27, 2015
Print only base binary name in usage string (win)

@ahmetb ahmetb deleted the usage-string-short branch

March 27, 2015 21:43