import Paths_htsn (version)
import Data.Version (showVersion)
+import FeedHosts ( FeedHosts(..) )
import OptionalConfiguration ( OptionalConfiguration(..) )
-- | The description of the program, displayed as part of the help.
arg_spec :: OptionalConfiguration
arg_spec =
OptionalConfiguration {
+ daemonize = def &= typ "BOOL" &= help daemonize_help,
+
-- Use an empty list for feed_hosts since cmdargs will appends to
-- the default when the user supplies feed hosts. If he specifies
-- any, those are all we should use.
- daemonize = def &= typ "BOOL" &= help daemonize_help,
- feed_hosts = def &= typ "HOSTNAMES" &= args,
+ feed_hosts = FeedHosts [] &= typ "HOSTNAMES" &= args,
+
log_file = def &= typFile &= help log_file_help,
log_level = def &= typ "LEVEL" &= help log_level_help,
output_directory = def &= typDir &= help output_directory_help,