### Bug description

`quarto render --help` says

```
  Usage:   quarto render [input] [args...]
```

and `quarto render mwe.qmd --to docx` works as expected

```
pandoc 
  to: docx
  output-file: mwe.docx
  default-image-extension: png
  
metadata
  title: Minimal Working Example
  
Output created: mwe.docx
```

Unfortunately, `quarto render --to docx mwe.qmd` produces a document with duplicated content (see https://github.com/quarto-dev/quarto-cli/issues/3579).

Will be possible to include a warning in the command line output if the input file is not the first argument?

`quarto check` reports

```
[✓] Checking Quarto installation......OK
      Version: 1.3.34
      Path: /opt/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.10 (Conda)
      Path: /home/raniere/mambaforge/bin/python
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with conda install jupyter

[✓] Checking R installation...........OK
      Version: 4.2.1
      Path: /usr/lib/R
      LibPaths:
        - /home/raniere/R/x86_64-pc-linux-gnu-library/4.2
        - /usr/local/lib/R/site-library
        - /usr/lib/R/site-library
        - /usr/lib/R/library
      rmarkdown: 2.16

[✓] Checking Knitr engine render......OK
```

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2022-12-06T07:02:15Z
rgaiacs
bug
v1.3
closed
Make command line robust against argument order
https://github.com/quarto-dev/quarto-cli/issues/3581