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

Error in generating binary, flag provided but not defined: -i in go build cmd #70

Open
ritikgarg655 opened this issue Mar 6, 2023 · 3 comments
Labels

Comments

@ritikgarg655
Copy link

ritikgarg655 commented Mar 6, 2023

error on running make cmd:

go build -i -o bin/helloworld cmd/samples/recipes/helloworld/*.go
flag provided but not defined: -i
usage: go build [-o output] [build flags] [packages]
Run 'go help build' for details.
make: *** [helloworld] Error 2

Go version: go version go1.20.1 darwin/arm64

@ritikgarg655
Copy link
Author

By removing -i flag from go build cmd in Makefile it is running successfully.

@ritikgarg655
Copy link
Author

Should I create PR for it?

@dkrotx
Copy link
Member

dkrotx commented Mar 7, 2023

Thanks for reporting this!
It is fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants