Lines Matching defs:subcmd

839 	char *subcmd,
846 if (subcmd == NULL) {
851 if (strcmp(subcmd, "set_option") == 0) {
861 } else if (strcmp(subcmd, "update_all") == 0) {
864 * subcmd is "fastboot".
874 } else if (((strcmp(subcmd, "enable_hypervisor") != 0) &&
875 (strcmp(subcmd, "list_setting") != 0)) && (bam_argc || bam_argv)) {
890 /* verify that subcmd is valid */
891 for (i = 0; table[i].subcmd != NULL; i++) {
892 if (strcmp(table[i].subcmd, subcmd) == 0)
896 if (table[i].subcmd == NULL) {
897 bam_error(_("invalid sub-command specified: %s\n"), subcmd);
912 /* subcmd verifies that opt is appropriate */
917 "take options\n"), subcmd);
920 "sub-command: %s\n"), subcmd);
1264 bam_install(char *subcmd, char *opt)
1271 if (check_subcmd_and_options(subcmd, opt, inst_subcmds, &f) ==
1279 bam_menu(char *subcmd, char *opt, int largc, char *largv[])
1309 ret = check_subcmd_and_options(subcmd, opt, menu_subcmds, &f);
1319 if (strcmp(subcmd, "update_entry") == 0) {
1418 if (strcmp(subcmd, "list_entry") == 0)
1434 if (strcmp(subcmd, "set_option") == 0) {
1437 } else if ((strcmp(subcmd, "enable_hypervisor") != 0) &&
1438 (strcmp(subcmd, "list_setting") != 0)) {
1452 if (strcmp(subcmd, "update_entry") == 0) {
1454 } else if (strcmp(subcmd, "upgrade") == 0) {
1456 } else if (strcmp(subcmd, "list_entry") == 0) {
1458 } else if (strcmp(subcmd, "list_setting") == 0) {
1461 } else if (strcmp(subcmd, "disable_hypervisor") == 0) {
1464 "machines\n"), subcmd);
1469 } else if (strcmp(subcmd, "enable_hypervisor") == 0) {
1472 "machines\n"), subcmd);
1538 char *subcmd,
1555 ret = check_subcmd_and_options(subcmd, opt, arch_subcmds, &f);
1571 if (bam_check && strcmp(subcmd, "update_all") == 0) {
1573 "subcmd: %s\n"), subcmd);
1577 if (strcmp(subcmd, "update_all") == 0)