Skip to content

tsc --help contains a mistake #9735

@AgentMulder

Description

@AgentMulder

TypeScript Version: 1.8.0 / nightly (2.0.0-dev.201xxxxx)

Code

// A *self-contained* demonstration of the problem follows...

When running tsc --help from the command line, the Examples section shows the obsolete '--out' option:

Version 2.0.0
Syntax: tsc [options] [file ...]

Examples: tsc hello.ts
tsc --out file.js file.ts <-- option '--out' is obsolete
tsc @args.txt

Options:
...
Expected behavior:

Version 2.0.0
Syntax: tsc [options] [file ...]

Examples: tsc hello.ts
tsc --outFile file.js file.ts
tsc @args.txt

Actual behavior:

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions