Hi @Stefan_Sunaert
I think both are right. In MRtrix, options are generally pairs of name and value, such as -pe_dir PE. So you can put them before or after input and output. It doesn’t matter.
Best,
Zonglei
In MRtrix, options are generally pairs of name and value, …
Not always: Some options are just “flags” (i.e. just the option string, no need to provide a value afterwards), and other options take more than one argument (e.g. -export_grad_fsl bvecs bvals).
However the fact that all options take some fixed number of values means that command-line options can appear in any position at the command line, without ambiguity.