Skip to content
This repository has been archived by the owner. It is now read-only.

Print only base binary name in usage string (win) #358

Merged
merged 1 commit into from Mar 27, 2015
Merged

Print only base binary name in usage string (win) #358

merged 1 commit into from Mar 27, 2015

Conversation

@ahmetb
Copy link
Contributor

@ahmetb ahmetb commented Mar 27, 2015

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

Before/after

image

Signed-off-by: Ahmet Alp Balkan ahmetalpbalkan@gmail.com
cc: @tianon

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>
@tianon
Copy link
Contributor

@tianon tianon commented Mar 27, 2015

LGTM

cc @gmlewis @Moghedrin

@gmlewis
Copy link
Contributor

@gmlewis gmlewis commented Mar 27, 2015

LGTM

gmlewis added a commit that referenced this pull request Mar 27, 2015
Print only base binary name in usage string (win)
@gmlewis gmlewis merged commit c427ded into boot2docker:master Mar 27, 2015
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@ahmetb ahmetb deleted the ahmetb:usage-string-short branch Mar 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants