Skip to content

Commit 0e5ff96

Browse files
authored
🤖 fix: suppress filename in make help output (#724)
Generated with mux. Fixes #719 by adding `-h` to grep in make help target to suppress filename prefixes.
1 parent af9d7ea commit 0e5ff96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ help: ## Show this help message
112112
@echo 'Usage: make [target]'
113113
@echo ''
114114
@echo 'Available targets:'
115-
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}'
115+
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}'
116116

117117
## Development
118118
ifeq ($(OS),Windows_NT)

0 commit comments

Comments
 (0)