Sam Dougan
03/10/2026, 2:27 PMexport NXF_SYNTAX_PARSER=v2
how can you still print out the help message?
running it after adding the plugin gets you
nextflow run . --help
Nextflow 25.10.4 is available - Please consider updating your version to it
N E X T F L O W ~ version 25.10.3
Launching `./main.nf` [deadly_turing] DSL2 - revision: e81c964cae
Parameter `help` was specified on the command line or params file but is not declared in the script or config
running help after adding help to params (sorry for slightly older nf version)
params {
manifest: Path = null
help: Boolean = false
}
nextflow run . --help
Nextflow 25.10.4 is available - Please consider updating your version to it
N E X T F L O W ~ version 25.10.3
Launching `./main.nf` [cranky_sax] DSL2 - revision: bdd07c0bbd
Parameter `manifest` is required but was not specified on the command line, params file, or config
is there a nice way someone knows how to get the help message back?Nicolas Vannieuwkerke
03/10/2026, 2:36 PMNXF_VER=26.02.0-edgeNicolas Vannieuwkerke
03/10/2026, 2:36 PMSam Dougan
03/10/2026, 2:54 PMnextflow run . --help
N E X T F L O W ~ version 26.02.0-edge
Launching `./main.nf` [ridiculous_torvalds] revision: bdd07c0bbd
Parameter `manifest` is required but was not specified on the command line, params file, or config
This is in my config
plugins {
id 'nf-schema@2.6.1'
}
validation {
help {
enabled = true
}
}
main is like this
params {
manifest: Path = null
help: Boolean = false
}
workflow {
main:
validateParameters()
<http://log.info|log.info> paramsSummaryLog(workflow)
I can try setting path to '' but I get a error that path cannot be emptyNicolas Vannieuwkerke
03/10/2026, 3:00 PMmanifest: Path? , that's the syntax for optional fields 🙂Sam Dougan
03/10/2026, 3:00 PMnextflow run . --help
N E X T F L O W ~ version 26.02.0-edge
Launching `./main.nf` [crazy_lichterman] revision: 7d54764ef0
ERROR ~ Unexpected error [StackOverflowError]
-- Check '.nextflow.log' file for detailsNicolas Vannieuwkerke
03/10/2026, 3:01 PMSam Dougan
03/10/2026, 3:02 PMNicolas Vannieuwkerke
03/10/2026, 3:02 PM