# Documentation for -r/--script is incorrect

**URL:** <https://racket.discourse.group/t/documentation-for-r-script-is-incorrect/1270>\
**Category:** Questions & Answers\
**Created:** [August 31, 2022, 11:54pm UTC](https://racket.discourse.group/t/documentation-for-r-script-is-incorrect/1270 "2022-08-31T23:54:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdjohnston](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/jdjohnston/32/704_2.png) [@jdjohnston](https://racket.discourse.group/u/jdjohnston)\
**Post date:** [August 31, 2022, 11:54pm UTC](https://racket.discourse.group/t/documentation-for-r-script-is-incorrect/1270/1 "2022-08-31T23:54:49Z")

</div>

Racket Reference, section 18.1.4, "Command Line" states that `-r <file>` or `--script <file>` is like `-t <file> -N <file> --`. As `racket --help` shows it (correctly), `-r`/`--script` is essentially `-f <file> -N <file> --`. Option `-f` _loads_ the file, while `-t` _requires_ the file.

Option `-u`/`--require-script` is the option that matches `-t <file> -N <file> --`

---

<div class="post-metadata">

**Author:** ![benknoble](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/benknoble/32/16_2.png) [@benknoble](https://racket.discourse.group/u/benknoble)\
**Post date:** [September 1, 2022, 1:46pm UTC](https://racket.discourse.group/t/documentation-for-r-script-is-incorrect/1270/2 "2022-09-01T13:46:17Z")

</div>

PR opened: [https://github.com/racket/racket/pull/4425](https://github.com/racket/racket/pull/4425)
