DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
On this page

B7003: invalid command line

Catalog status: active. Default severity: error. Stable name: invalid-command-line. Family: Driver and session failures.

veradic could not make sense of its arguments: an unknown subcommand or option, a missing argument (such as the files to compile), or an option value it does not accept. The note repeats what was wrong.

Example (Vada)

$ veradic compile main.vadb
error[B7003]: invalid command line
  = note: invalid argument `compile'
  = help: run `veradic --help` to list the commands and options

Example (Varc)

$ veradic compile main.va
error[B7003]: invalid command line
  = note: invalid argument `compile'
  = help: run `veradic --help` to list the commands and options

What to do

Run veradic --help for the list of subcommands and options, and veradic COMMAND --help for the arguments of one subcommand.

Regression source and further reading

Complete regression example: source, command arguments and expected results. The fixture deliberately reproduces this diagnostic.

See driver and session failures, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.