From f32aa3b85bcb9ec1500f935067ee3aaab77745cc Mon Sep 17 00:00:00 2001
From: Hans-Peter Deifel <hpd@hpdeifel.de>
Date: Wed, 31 Oct 2018 08:53:13 +0100
Subject: [PATCH] main: Rename 'list_functors' to 'list-functors'

Renames the 'help list_functors' command to 'help list-functors' for
better consistency with the rest of the command line interface.
---
 src/main/Main.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/Main.hs b/src/main/Main.hs
index 6058ab9..e9b56d9 100644
--- a/src/main/Main.hs
+++ b/src/main/Main.hs
@@ -196,7 +196,7 @@ functorReader = eitherReader (\input -> parseFunctor input (T.pack input))
 data HelpCommand = HelpListFunctors
 
 helpCommand :: Parser HelpCommand
-helpCommand = subparser $ command "list_functors" (info (pure HelpListFunctors) (progDesc "list available functors"))
+helpCommand = subparser $ command "list-functors" (info (pure HelpListFunctors) (progDesc "list available functors"))
 
 options :: Parser Options
 options = Options <$> subcommand
-- 
GitLab