$ 0 0 {code} is for arguments. For options it is {--code} or {--code=}: // option as switch: protected $signature = 'update:code {--code}'; // option with value: protected $signature = 'update:code {--code=}';