Lines Matching refs:command
42 CommandEntry(const BString& name, CliCommand* command)
45 fCommand(command)
71 CliCommand("print help for a command or a list of all commands",
72 "%s [ <command> ]\n"
73 "Prints help for command <command>, if given, or a list of all "
267 // read a command line
272 // parse the command line
279 printf("Insufficient memory parsing the command line.\n");
296 // execute command
342 CliCommand* command)
344 BReference<CliCommand> commandReference(command, true);
345 if (name.IsEmpty() || command == NULL)
358 command);
399 printf("Error: Ambiguous command \"%s\".\n", commandName);
409 printf("Error: Unknown command \"%s\".\n", commandName);
420 // If a command name is given, print the usage for that one.
428 // No command name given -- print a list of all commands.
430 // determine longest command name
437 // print the command list