Skip to content
Docs
Errors

usage

A command was run with an unknown, repeated, malformed or missing flag or argument.

Kinddisko command error
disko exit code2 (usage)

Every disko command reports usage and exits with code 2 when its command line is wrong: an unknown command or flag, a flag given twice, a missing flag value, an invalid --visibility, --profile, --api or --registry value, a --project or --out path that does not fit, or a positional argument. No command takes positional arguments, and tokens are never accepted as arguments. The message names the flag and how to fix it. disko dev in a directory without game.json has its own code, game_project_required.

Wrong

sh
sh

Run disko <command> --help for the flags a command accepts.

See also