diff --git a/cmd/tools/vcomplete.v b/cmd/tools/vcomplete.v index e7d5013a22..46ff455a0e 100644 --- a/cmd/tools/vcomplete.v +++ b/cmd/tools/vcomplete.v @@ -141,15 +141,42 @@ const auto_complete_commands = [ // * Long flags, e.g.: "--version", should be entered: '--version' // * Single-dash flags, e.g.: "-version", should be entered: '-version' const auto_complete_flags = [ + '-wasm-validate', + '-wasm-stack-top', '-apk', + '-arch', + '-assert', '-show-timings', + '-show-asserts', '-check-syntax', '-check', + '-?', + '-h', + '-help', + '--help', + '-q', '-v', + '-V', + '--version', + '-version', '-progress', + '-Wimpure-v', + '-Wfatal-errors', '-silent', + '-skip-running', + '-cstrict', + '-nofloat', + '-fast-math', + '-e', + '-subsystem', + '-gc', '-g', '-cg', + '-debug-tcc', + '-sourcemap', + '-warn-about-allocs', + '-sourcemap-src-included', + '-sourcemap-inline', '-repl', '-live', '-sharedlive', @@ -157,49 +184,100 @@ const auto_complete_flags = [ '--enable-globals', '-enable-globals', '-autofree', + '-print_autofree_vars', + '-print_autofree_vars_in_fn', + '-trace-calls', + '-trace-fns', + '-manualfree', + '-skip-unused', + '-no-skip-unused', '-compress', '-freestanding', + '-no-retry-compilation', + '-musl', + '-glibc', + '-no-bounds-checking', '-no-builtin', - '-no-parallel', '-no-preludes', + '-no-relaxed-gcc14', '-prof', '-profile', + '-cov', + '-coverage', + '-profile-fns', '-profile-no-inline', '-prod', + '-sanitize', '-simulator', '-stats', + '-obf', '-obfuscate', + '-hide-auto-str', '-translated', + '-translated-go', + '-m32', + '-m64', '-color', '-nocolor', '-showcc', '-show-c-output', + '-show-callgraph', + '-show-depgraph', + '-run-only', + '-exclude', + '-test-runner', + '-dump-c-flags', + '-dump-modules', + '-dump-files', + '-dump-defines', '-experimental', '-usecache', + '-use-os-system-to-run', + '-macosx-version-min', + '-nocache', '-prealloc', - '-parallel', + '-no-parallel', + '-parallel-cc', '-native', + '-interpret', '-W', - '-keepc', '-w', + '-N', + '-n', + '-no-rsp', + '-no-std', + '-keepc', + '-watch', '-print-v-files', - '-error-limit', - '-message-limit', + '-print-watched-files', + '-http', + '-cross', '-os', '-printfn', '-cflags', - '-define', + '-ldflags', '-d', + '-define', + '-message-limit', + '-thread-stack-size', '-cc', + '-c++', + '-checker-match-exhaustive-cutoff-limit', '-o', + '-output', + '-is_o', '-b', + '-backend', + '-es5', '-path', + '-bare-builtin-dir', '-custom-prelude', - '-name', - '-bundle', - '-V', - '-version', - '--version', + '-raw-vsh-tmp-prefix', + '-cmain', + '-line-info', + '-check-unused-fn-args', + '-check-return', + '-use-coroutines', ] const auto_complete_flags_cover = [ '--help',