Searched refs:current_command (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/ndmpadm/ |
H A D | ndmpadm_main.c | 163 usage(boolean_t requested, ndmp_command_t *current_command) in usage() argument 169 if (current_command == NULL) { in usage() 183 (void) fprintf(fp, "%s", get_usage(current_command->nc_usage)); in usage() 184 if ((current_command->nc_usage == HELP_ENABLE_AUTH) || in usage() 185 (current_command->nc_usage == HELP_DISABLE_AUTH)) in usage() 191 if (current_command != NULL && in usage() 192 (strcmp(current_command->nc_name, "set") == 0)) in usage() 716 ndmp_command_t *current_command = NULL; in main() local 726 usage(B_FALSE, current_command); in main() 735 usage(B_TRUE, current_command); in main() [all …]
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 243 zfs_command_t *current_command; variable 477 if (current_command == NULL) { in usage() 495 (void) fprintf(fp, "%s", get_usage(current_command->usage)); in usage() 498 if (current_command != NULL && in usage() 499 (strcmp(current_command->name, "set") == 0 || in usage() 500 strcmp(current_command->name, "get") == 0 || in usage() 501 strcmp(current_command->name, "inherit") == 0 || in usage() 502 strcmp(current_command->name, "list") == 0)) in usage() 8200 current_command = &command_table[i]; in main() 8204 current_command = &command_table[i]; in main()
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 307 static zpool_command_t *current_command; variable 467 if (current_command == NULL) { in usage() 483 (void) fprintf(fp, "%s", get_usage(current_command->usage)); in usage() 486 if (current_command != NULL && in usage() 487 ((strcmp(current_command->name, "set") == 0) || in usage() 488 (strcmp(current_command->name, "get") == 0) || in usage() 489 (strcmp(current_command->name, "list") == 0))) { in usage() 8482 current_command = &command_table[i]; in main() 8486 current_command = &command_table[i]; in main()
|