diff --git a/src/shdc/args.cc b/src/shdc/args.cc index db2de620..1a625fd2 100644 --- a/src/shdc/args.cc +++ b/src/shdc/args.cc @@ -39,7 +39,7 @@ static const getopt_option_t option_list[] = { { "module", 'm', GETOPT_OPTION_TYPE_REQUIRED, 0, OPTION_MODULE, "optional @module name override" }, { "reflection", 'r', GETOPT_OPTION_TYPE_NO_ARG, 0, OPTION_REFLECTION, "generate runtime reflection functions" }, { "bytecode", 'b', GETOPT_OPTION_TYPE_NO_ARG, 0, OPTION_BYTECODE, "output bytecode (HLSL and Metal)"}, - { "format", 'f', GETOPT_OPTION_TYPE_REQUIRED, 0, OPTION_FORMAT, "output format (default: sokol)", "[sokol|sokol_impl|sokol_zig|sokol_nim|sokol_odin|sokol_rust|bare|bare_yaml]" }, + { "format", 'f', GETOPT_OPTION_TYPE_REQUIRED, 0, OPTION_FORMAT, "output format (default: sokol)", "[sokol|sokol_impl|sokol_zig|sokol_nim|sokol_odin|sokol_rust|sokol_d|bare|bare_yaml]" }, { "errfmt", 'e', GETOPT_OPTION_TYPE_REQUIRED, 0, OPTION_ERRFMT, "error message format (default: gcc)", "[gcc|msvc]"}, { "dump", 'd', GETOPT_OPTION_TYPE_NO_ARG, 0, OPTION_DUMP, "dump debugging information to stderr"}, { "genver", 'g', GETOPT_OPTION_TYPE_REQUIRED, 0, OPTION_GENVER, "version-stamp for code-generation", "[int]"}, @@ -77,6 +77,7 @@ static void print_help_string(getopt_context_t& ctx) { " - sokol_nim Nim module file\n" " - sokol_odin Odin module file\n" " - sokol_rust Rust module file\n" + " - sokol_d D module file\n" " - bare raw output of SPIRV-Cross compiler, in text or binary format\n" " - bare_yaml like bare, but with reflection file in YAML format\n\n" "Options:\n\n");