Skip to content
Topazdocs
6.05.21

Search documentation

Specification 6.0

Use arrow keys to choose a result. Press Enter to open.

Type an API name, diagnostic number, rule, or project topic.

    Download

    6.0.0-alpha.N Topaz 6.0 alpha

    Diagnostics

    program-arguments-require-main

    Program arguments were supplied after --, but the program has no exported main(args, stdin).

    Language mode
    6.0
    Product
    Not released

    Command error

    With --format json, the name on this page is the cause of a command-error on standard error.

    program-arguments-require-main

    Family
    topaz
    Phase
    entry
    Category
    program-arguments-require-main

    Response

    Export the required entry function or omit the program arguments.