MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / usage

Method usage

vkconfig_core/command_line.cpp:627–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627void CommandLine::usage() const {
628 switch (_help) {
629 default: {
630 assert(0);
631 break;
632 }
633 case HELP_DEFAULT: {
634 printf("Usage\n");
635 printf("\tvkconfig [help] | [version] | [gui] | [reset <args>] |\n");
636 printf("\t [loader <args>] | [layers <args>] | [settings <args>]\n");
637 printf("\n");
638 printf("Command:\n");
639 printf("\thelp = Display usage and documentation.\n");
640 printf("\tversion = Display %s version.\n", VKCONFIG_NAME);
641 printf("\tgui = Launch the graphical interface.\n");
642 printf("\treset = Reset layers configurations.\n");
643 printf("\tloader = Configure system the Vulkan Layers configuration.\n");
644 printf("\tlayers = Configure system the Vulkan Layers configuration.\n");
645 printf("\tsettings = Create layer settings and documentation files for Vulkan developers.\n");
646 printf("\n");
647 printf(" (Run 'vkconfig help <command>' for detailed usage of %s commands.)\n", VKCONFIG_NAME);
648 break;
649 }
650 case HELP_HELP: {
651 printf("Name\n");
652 printf("\t'help' - Displays the %s command help pages:\n", VKCONFIG_NAME);
653 printf("\n");
654 printf("Synopsis\n");
655 printf("\tvkconfig help [command]\n");
656 break;
657 }
658 case HELP_VERSION: {
659 printf("Name\n");
660 printf("\t'version' - Command to display %s version.\n", VKCONFIG_NAME);
661 printf("\n");
662 printf("Synopsis\n");
663 printf("\tvkconfig version\n");
664 break;
665 }
666 case HELP_GUI: {
667 printf("Name\n");
668 printf("\t'gui' - Launch %s GUI.\n", VKCONFIG_NAME);
669 printf("\n");
670 printf("Synopsis\n");
671 printf("\tvkconfig gui\n");
672 break;
673 }
674 case HELP_LAYERS: {
675 printf("Name\n");
676 printf("\t'layers' - Command to configure system Vulkan Layers configuration.\n");
677 printf("\n");
678 printf("Synopsis\n");
679 printf("\tvkconfig layers (--list | -l)\n");
680 printf("\tvkconfig layers (--list-verbose | -lv)\n");
681 printf("\tvkconfig layers (--path | -p)\n");
682 printf("\tvkconfig layers (--override | -o) <layers_configuration_file>\n");
683 printf("\tvkconfig layers (--surrender | -s)\n");
684 printf("\n");

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected