Lines Matching refs:command
52 NanotoolCommand command = NanotoolCommand::Poll; member
154 && (args->command == NanotoolCommand::Disable in ValidateArgs()
155 || args->command == NanotoolCommand::Calibrate in ValidateArgs()
156 || args->command == NanotoolCommand::Poll)) { in ValidateArgs()
163 if (args->command == NanotoolCommand::Flash in ValidateArgs()
171 if (args->command == NanotoolCommand::Poll) { in ValidateArgs()
184 if (args->command == NanotoolCommand::Calibrate) { in ValidateArgs()
306 args->command = StrToCommand(optarg); in ParseArgs()
307 if (args->command == NanotoolCommand::Invalid) { in ParseArgs()
429 switch (args->command) { in main()
472 } else if (args->command != NanotoolCommand::Read in main()
473 && args->command != NanotoolCommand::Poll) { in main()