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 | 	rm -f hledger-completion.bash | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Basic REGEX debugging targets
 | # Basic REGEX debugging targets. Example usage:
 | ||||||
| .PHONY: debug-commands debug-options | # diff <(make -s debug-options) <(make -s debug-options CMD=reg)
 | ||||||
| 
 | 
 | ||||||
|  | .PHONY: debug-commands | ||||||
| debug-commands: | debug-commands: | ||||||
| 	$(PARSE_COMMANDS) | 	$(PARSE_COMMANDS) | ||||||
| 
 | 
 | ||||||
|  | .PHONY: debug-options | ||||||
| debug-options: CMD := | debug-options: CMD := | ||||||
| debug-options: | debug-options: | ||||||
| 	hledger $(CMD) -h | $(PARSE_OPTIONS) | 	hledger $(CMD) -h | $(PARSE_OPTIONS) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user