--version requires samplesheet and database samplesheet
bug
### Description of the bug
Hi.
I think I found a small bug
"--input" and "--databases" seem to be required to get output from "--version". I don´t know if this is the intention but it sure would be simpler if these two flags were not required for printing the version.
Thanks!
### Command used and terminal output
```console
# This does not work
nextflow run main.nf --version
Nextflow 25.10.0 is available - Please consider updating your version to it
N E X T F L O W ~ version 25.04.8
Launching `main.nf` [reverent_boyd] DSL2 - revision: bba6c867d1
Input samplesheet not specified
# This works. I took the same samplesheet on both variables (just wanted to see the version)
nextflow run main.nf --input assets/samplesheet.csv --databases assets/samplesheet.csv --version
Nextflow 25.10.0 is available - Please consider updating your version to it
N E X T F L O W ~ version 25.04.8
Launching `main.nf` [kickass_wing] DSL2 - revision: bba6c867d1
nf-core/taxprofiler v1.2.4
```
### Relevant files
_No response_
### System information
nextflow 25.04.8
Hardware: Linux server red hat
executor: local
Container engine: Not specified
OS: Linux redhat
taxprofiler version: v1.2.4
关闭于 2025-11-04 5 条评论