From 60957c495e0f9b661d91a07ad71eed4afe1fb584 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Tue, 26 Nov 2019 14:35:37 -0500
Subject: [PATCH] Give these options slightly more sensible names

They have weird names in the Stripe API but there's no reason to preserve
that.
---
 src/PaymentServer/Main.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/PaymentServer/Main.hs b/src/PaymentServer/Main.hs
index 65afc14..8ca2206 100644
--- a/src/PaymentServer/Main.hs
+++ b/src/PaymentServer/Main.hs
@@ -197,12 +197,12 @@ sample = ServerConfig
   ( long "stripe-key-path"
     <> help "Path to Stripe Secret key" )
   <*> option str
-  ( long "stripe-endpoint-url"
-    <> help "The root endpoint of the Stripe HTTP API"
+  ( long "stripe-endpoint-domain"
+    <> help "The domain name for the Stripe API HTTP endpoint."
     <> value "api.stripe.com"
     <> showDefault )
   <*> option auto
-  ( long "stripe-endpoint-protocol"
+  ( long "stripe-endpoint-scheme"
     <> help "The Stripe HTTP API protocol (HTTP or HTTPS)."
     <> value HTTPS
     <> showDefault )
-- 
GitLab