From 853161e9d6120585cb23be0a6cdf6c954d29b724 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 20 Nov 2019 13:10:13 -0500 Subject: [PATCH] Improve the cli argument help text You have to pass a haskell syntax list for now. --- src/PaymentServer/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PaymentServer/Main.hs b/src/PaymentServer/Main.hs index 45f1a4d..a6b206c 100644 --- a/src/PaymentServer/Main.hs +++ b/src/PaymentServer/Main.hs @@ -168,7 +168,7 @@ sample = ServerConfig <> help "Path to Stripe Secret key" ) <*> option auto ( long "allow-origin" - <> help "For the charge endpoint, an origin to allow (CORS)." + <> help "For the charge endpoint, a list of CORS origins to allow." <> showDefault <> value [] ) -- GitLab