Skip to content

Cannot always print help from compiler #2779

@lrytz

Description

@lrytz

Version 1.1.3

Using -X is ok, but -Xlint:help not.

➜ sandbox scala-cli compile -S 2 -X Usage: scalac <options> <source files> Available advanced options: -Xasync Enable the async phase for scala.async.Async.{async,await}. [false] ... ➜ sandbox scala-cli compile -S 2 -Xlint:help [error] No inputs provided (expected files with .scala, .sc, .java or .md extensions, and / or directories). ➜ sandbox 

It works when using plain scala-cli without the compile subcommand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelpAll the issues related to improving help outputsscalac compatibilityIssues tied with compatibility with the scalac (compiler) command.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions