From b3f0b437a588948d6bc9ae2408bd36579f144edc Mon Sep 17 00:00:00 2001 From: Vladimir Zhelezov Date: Fri, 18 Dec 2020 08:25:17 +0100 Subject: [PATCH] Add example usage comment for debug targets --- shell-completion/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shell-completion/Makefile b/shell-completion/Makefile index 907a037a3..8cae609c9 100644 --- a/shell-completion/Makefile +++ b/shell-completion/Makefile @@ -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)