diff options
| author | Johannes van Waveren <janpaul.vanwaveren@oculus.com> | 2016-10-30 05:47:59 +0100 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-11-01 07:42:10 -0600 |
| commit | 3e5ef5877fe03397d3a3da3b6fa3374f211affa7 (patch) | |
| tree | 7ea5e8c173d476c135af6e7cb33ee5b7a24ed5b3 | |
| parent | 70fd6144883aa585977363bc6d28005f38ca3564 (diff) | |
| download | usermoji-3e5ef5877fe03397d3a3da3b6fa3374f211affa7.tar.xz | |
scripts: Re-added AllPlatforms wsi option
A single cross-platform dispatch table helper file is preferable.
Added the AllPlatforms parameter back into vk-generate.py
Change-Id: Icc00c04504d58007270eb55fc269651c215aa9b4
| -rwxr-xr-x | vk-generate.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vk-generate.py b/vk-generate.py index d8672c26..7c57b156 100755 --- a/vk-generate.py +++ b/vk-generate.py @@ -282,6 +282,7 @@ def main(): "Wayland", "Mir", "Display", + "AllPlatforms", } subcommands = { "dispatch-table-ops": DispatchTableOpsSubcommand, @@ -289,9 +290,10 @@ def main(): } if len(sys.argv) < 3 or sys.argv[1] not in wsi or sys.argv[2] not in subcommands: - print("Usage: %s <wsi> <subcommand> [options]" % sys.argv[0]) + print("Usage: %s <wsi> <subcommand> <option>" % sys.argv[0]) print - print("Available sucommands are: %s" % " ".join(subcommands)) + print("Available wsi are: %s" % " ".join(wsi)) + print("Available subcommands are: %s" % " ".join(subcommands)) exit(1) subcmd = subcommands[sys.argv[2]](sys.argv[3:]) |
