Skip to content

GB-242: the command line does not parse

Generated from ops/errors/catalog.yaml by ops/ci/check-error-catalog.py --write; do not edit here. GB-242 is printed by goatbuilder. The same text offline: goat explain GB-242 or goatbuilder explain GB-242.

What it means

The arguments do not make a command goatbuilder knows: a required argument is missing, a value is not one the option takes, two options that exclude each other were both given, or the verb is unknown. Nothing ran.

Why it happens

  • a required argument or subcommand was left out
  • an option was given a value it does not take
  • two options that exclude each other were given together
  • a misspelt verb

What to do

One line per step or alternative:

goatbuilder <verb> --help (the arguments the verb takes)
goatbuilder --help (the verbs)

Read more

Exit code

goatbuilder exits with 2.