Skip to content
This repository has been archived by the owner on Feb 27, 2018. 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 [email protected]
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 <[email protected]>
@tianon
Copy link
Contributor

tianon commented Mar 27, 2015

LGTM

cc @gmlewis @Moghedrin

@gmlewis
Copy link
Contributor

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
@ahmetb ahmetb deleted the usage-string-short branch March 27, 2015 21:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants