Documentation for -r/--script is incorrect

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> --

1 Like

PR opened: https://github.com/racket/racket/pull/4425

2 Likes