summaryrefslogtreecommitdiff
path: root/fig-web/main
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-06-01 20:34:37 -0400
committerLLLL Colonq <llll@colonq>2025-06-01 20:34:37 -0400
commit83cbb69e40fc68606b03b26d70d0a6a0d153fda6 (patch)
tree5ef9f91e61b04c56e1176cc68513dc8f82d965d2 /fig-web/main
parent0dbae80f019d0d84da269286da2cf9bfab7c6141 (diff)
fig-web: Support --sim-auth
Diffstat (limited to 'fig-web/main')
-rw-r--r--fig-web/main/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/fig-web/main/Main.hs b/fig-web/main/Main.hs
index 89ac345..909127e 100644
--- a/fig-web/main/Main.hs
+++ b/fig-web/main/Main.hs
@@ -25,7 +25,7 @@ data Command
| Secure SecureOptions
parseCommand :: Parser Command
-parseCommand = subparser $ mconcat
+parseCommand = hsubparser $ mconcat
[ command "public" $ info (Public <$> parsePublicOptions) (progDesc "Launch the public web server")
, command "secure" $ info (Secure <$> parseSecureOptions) (progDesc "Launch the private web server (intended to be run behind authentication proxy)")
]
@@ -49,7 +49,7 @@ main :: IO ()
main = do
opts <- execParser $ info (parseOpts <**> helper)
( fullDesc
- <> Options.Applicative.header "fig-web - public-facing web applications"
+ <> Options.Applicative.header "fig-web - web backends"
)
cfg <- loadConfig opts.config
case opts.cmd of