From 9ce2d6a75a0fdf18c4a51d542dfd6ff294bfe66a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 26 Apr 2014 10:44:31 -0700 Subject: [PATCH] tools: update test addons --- Makefile | 4 ++++ hledger/Hledger/Cli/Options.hs | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e3c563aca..bc756af40 100644 --- a/Makefile +++ b/Makefile @@ -565,6 +565,10 @@ test-addons: #cp $(TESTADDONS)/hledger-addon. $(TESTADDONS)/hledger-addon rm -rf $(TESTADDONS)/hledger-addon mkdir $(TESTADDONS)/hledger-addon + cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-addon2 + cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-addon2.hs + cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-addon3.exe + cp $(TESTADDONS)/hledger-addon.hs $(TESTADDONS)/hledger-addon3.lhs chmod +x $(TESTADDONS)/hledger-* ###################################################################### diff --git a/hledger/Hledger/Cli/Options.hs b/hledger/Hledger/Cli/Options.hs index 47e8a2cc9..d7220f655 100644 --- a/hledger/Hledger/Cli/Options.hs +++ b/hledger/Hledger/Cli/Options.hs @@ -185,7 +185,9 @@ standardAddonsHelp = [ ,("print-unique", "print only transactions with unique descriptions") ,("register-csv", "output a register report as CSV") ,("rewrite", "add specified postings to matched transaction entries") - ,("addon", "dummy add-on command for testing") + ,("addon", "dummy add-on command for testing") + ,("addon2", "dummy add-on command for testing") + ,("addon3", "dummy add-on command for testing") ] -- | Get a mode's help message as a nicely wrapped string.