Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: windows friendly daemon help #6278

Merged
merged 1 commit into from
Apr 30, 2019
Merged

Conversation

olizilla
Copy link
Member

tweak the daemon --help output to use escaped double quotes instead
of single quotes so the same command can be used on windows.

fixes: #2034

License: MIT
Signed-off-by: Oli Evans oli@tableflip.io

tweak the daemon --help output to use escaped double quotes instead
of single quotes so the same command can be used on windows.

fixes: #2034

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
@ghost ghost assigned olizilla Apr 30, 2019
@ghost ghost added the status/in-progress In progress label Apr 30, 2019
@olizilla
Copy link
Member Author

I wasn't able to build and test this locally due to a error during make build that I assume is unrelated to this change

⨎ make build
go version go1.11.2 darwin/amd64
bin/check_go_version 1.12
go build -ldflags="-X "github.com/ipfs/go-ipfs".CurrentCommit=dd16b3ca1-dirty" -o "cmd/ipfs/ipfs" "github.com/ipfs/go-ipfs/cmd/ipfs"
go: downloading github.com/polydawn/refmt v0.0.0-20190221155625-df39d6c2d992
go: downloading golang.org/x/text v0.3.2
go: verifying github.com/polydawn/refmt@v0.0.0-20190221155625-df39d6c2d992: checksum mismatch
	downloaded: h1:G16v6hoz+26YUMfvEvUkBKeJeIvsljFH2RRFY3MeXUA=
	go.sum:     h1:bzMe+2coZJYHnhGgVlcQKuRy4FSny4ds8dLQjw5P1XE=
make: *** [cmd/ipfs/ipfs] Error 1

@Stebalien
Copy link
Member

I wasn't able to build and test this locally due to a error during make build that I assume is unrelated to this change

You probably need go 1.12. There were some bugs in how go 1.11 handles modules.

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks!

@Stebalien Stebalien merged commit 807f45e into master Apr 30, 2019
@ghost ghost removed the status/in-progress In progress label Apr 30, 2019
@hacdias hacdias deleted the windows-friendly-deamon-help branch May 9, 2023 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config JSON parsing on Windows with " instead of '
2 participants