From 75977adcec5c187204b95f3870544040c52398fd Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 27 Jul 2013 22:51:12 -0400 Subject: [PATCH] Import explicitly from CmdArgs. --- src/CommandLine.hs | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/CommandLine.hs b/src/CommandLine.hs index 39470b2..42fcd61 100644 --- a/src/CommandLine.hs +++ b/src/CommandLine.hs @@ -6,7 +6,25 @@ module CommandLine ( ) where -import System.Console.CmdArgs +import System.Console.CmdArgs ( + Data, + Typeable, + (&=), + args, + auto, + cmdArgs, + def, + details, + explicit, + groupname, + help, + helpArg, + modes, + name, + program, + summary, + typ, + versionArg ) -- Get the version from Cabal. import Paths_haeredes (version) @@ -55,13 +73,13 @@ arg_spec = ns :: Args ns = NS { server = def - &= groupname "Common flags" - &= typ "IP" - &= help server_help, + &= groupname "Common flags" + &= typ "IP" + &= help server_help, delegates = def - &= args - &= typ "DELEGATES" } + &= args + &= typ "DELEGATES" } &= details [ns_description] -- 2.43.2