Skip to content

Commit

Permalink
fixed help message load
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Jan 12, 2022
1 parent cec6d9c commit 9f7ac72
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ import org.yaml.snakeyaml.Yaml
include { helpMessage } from './nf_functions/help.nf'
include { logMessage } from './nf_functions/logMessages.nf'

/*
* Help message
*/
params.help = false
if (params.help) {
helpMessage
exit 1
}

/*
Download configuration file, if necessary.
*/
Expand Down

0 comments on commit 9f7ac72

Please sign in to comment.