Add example usage comment for debug targets
This commit is contained in:
parent
84a7a66753
commit
b3f0b437a5
@ -98,12 +98,14 @@ clean:
|
||||
rm -f hledger-completion.bash
|
||||
|
||||
|
||||
# Basic REGEX debugging targets
|
||||
.PHONY: debug-commands debug-options
|
||||
# Basic REGEX debugging targets. Example usage:
|
||||
# diff <(make -s debug-options) <(make -s debug-options CMD=reg)
|
||||
|
||||
.PHONY: debug-commands
|
||||
debug-commands:
|
||||
$(PARSE_COMMANDS)
|
||||
|
||||
.PHONY: debug-options
|
||||
debug-options: CMD :=
|
||||
debug-options:
|
||||
hledger $(CMD) -h | $(PARSE_OPTIONS)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user