Skip to content

Commit

Permalink
fix: to be compatible with MacOS
Browse files Browse the repository at this point in the history
Change echo to printf, since there is no -e option in echo command of MacOS.
  • Loading branch information
suexcxine authored Sep 13, 2022
1 parent 9429823 commit 314060e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,6 @@ tidy:
## help: Show this help info.
.PHONY: help
help: Makefile
@echo -e "\nUsage: make <TARGETS> <OPTIONS> ...\n\nTargets:"
@printf "\nUsage: make <TARGETS> <OPTIONS> ...\n\nTargets:\n"
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /'
@echo "$$USAGE_OPTIONS"

0 comments on commit 314060e

Please sign in to comment.