From c7f708e64d40b3fb29e59860a4046a4a844b3f84 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Fri, 28 Jul 2023 01:29:48 +0200 Subject: [PATCH] v.help: fix typos (#18987) --- vlib/v/help/build/build-c.txt | 6 +++--- vlib/v/help/build/build-js.txt | 4 ++-- vlib/v/help/build/build-wasm.txt | 4 ++-- vlib/v/help/build/build.txt | 4 ++-- vlib/v/help/common/watch.txt | 4 ++-- vlib/v/help/other/bug.txt | 2 +- vlib/v/help/other/other.txt | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/vlib/v/help/build/build-c.txt b/vlib/v/help/build/build-c.txt index 83b0a1cbef..bedfbba6c9 100644 --- a/vlib/v/help/build/build-c.txt +++ b/vlib/v/help/build/build-c.txt @@ -57,9 +57,9 @@ see also `v help build`. Use with `-freestanding`. This specifies the directory to the implementation of some basic builtin functions. The list is as follows: bare_print(buf &byte, len u64) - Print len charecters from the buffer pointed to by buf to stdout. + Print len characters from the buffer pointed to by buf to stdout. bare_eprint(buf &byte, len u64) - Print len charecters from the buffer pointed to by buf to stderr. + Print len characters from the buffer pointed to by buf to stderr. bare_panic(msg string) Print "V panic: " + msg, along with an optional backtrace and/or the V commit hash, and then exit. [export: 'malloc'] @@ -309,4 +309,4 @@ see also `v help build`. that use relatively few threads. It may be decreased, to reduce the memory footprint of programs that launch hundreds/thousands of threads, but where each of the threads does not need - a big stack. + a big stack. \ No newline at end of file diff --git a/vlib/v/help/build/build-js.txt b/vlib/v/help/build/build-js.txt index 51072f88ac..7ea97b8e94 100644 --- a/vlib/v/help/build/build-js.txt +++ b/vlib/v/help/build/build-js.txt @@ -27,9 +27,9 @@ For more general build help, see also `v help build`. (currently default, external source map files not implemented) - -sourcemap-src-include Include the orginal V source files into the + -sourcemap-src-include Include the original V source files into the generated source map (default false, all files in the source map are currently referenced by their absolute system file path) -The supported targets for the JS backend are: ES6 strict +The supported targets for the JS backend are: ES6 strict \ No newline at end of file diff --git a/vlib/v/help/build/build-wasm.txt b/vlib/v/help/build/build-wasm.txt index 1c3fb0f914..4be2a548d6 100644 --- a/vlib/v/help/build/build-wasm.txt +++ b/vlib/v/help/build/build-wasm.txt @@ -15,11 +15,11 @@ For more general build help, see also `v help build`. -os , -target-os Change the target WebAssembly execution environment that V compiles for. - The `wasi` target is the default execution enviroment. + The `wasi` target is the default execution environment. When targeting WASI, the generated WebAssembly module can be run in a variety of environments that support the WASI specification. WASI provides a standardized interface to interact with the host operating system, allowing WebAssembly modules to perform tasks like file I/O, networking, and more. The specific version of the WASI specification targeted by V is 'wasi_snapshot_preview1'. The `browser` target is an experimental environment that compiles for a stripped down builtin, for use in browsers. The produced WebAssembly module will have functions exported that are `pub` and inside the `module main`. - See `examples/wasm/mandelbrot` for an example. + See `examples/wasm/mandelbrot` for an example. \ No newline at end of file diff --git a/vlib/v/help/build/build.txt b/vlib/v/help/build/build.txt index d274bebe26..4f0c4925af 100644 --- a/vlib/v/help/build/build.txt +++ b/vlib/v/help/build/build.txt @@ -161,7 +161,7 @@ NB: the build flags are shared with the run command too: ... will generate a TAGS file, that emacs can then use to jump to the definition of functions used by v itself. For vim: ./v -print-v-files cmd/v | ctags -L - - ... will generate a simillar tags file, that vi compatible editors can use. + ... will generate a similar tags file, that vi compatible editors can use. NB: an useful, although not entirely accurate regexp based Universal Ctags options file for V is located in `.ctags.d/v.ctags` . If you use https://ctags.io/ , it will be used up automatically, or you can specify it explicitly with --options=.ctags.d/v.ctags . @@ -213,4 +213,4 @@ For Native-specific build flags, use `v help build-native`. For WebAssembly-specific build flags, use `v help build-wasm`. See also: - `v help run` for documentation regarding `v run`. + `v help run` for documentation regarding `v run`. \ No newline at end of file diff --git a/vlib/v/help/common/watch.txt b/vlib/v/help/common/watch.txt index c409db7c66..8e87eae21d 100644 --- a/vlib/v/help/common/watch.txt +++ b/vlib/v/help/common/watch.txt @@ -36,5 +36,5 @@ Options: Example: --after 'rm -rf /tmp/v/' You can also customise the timeout, after `v watch` will re-start a monitored -program automatically, even if it was not changed by setting the enviroment -variable VWATCH_TIMEOUT (in seconds). By default, it is 5 min. (300 seconds). +program automatically, even if it was not changed by setting the environment +variable VWATCH_TIMEOUT (in seconds). By default, it is 5 min. (300 seconds). \ No newline at end of file diff --git a/vlib/v/help/other/bug.txt b/vlib/v/help/other/bug.txt index 447e002c36..c9606bc195 100644 --- a/vlib/v/help/other/bug.txt +++ b/vlib/v/help/other/bug.txt @@ -5,4 +5,4 @@ Usage: Options: -v Enable verbosity while gathering various information - -y Force the submission of the issue, even if an error occured + -y Force the submission of the issue, even if an error occurred \ No newline at end of file diff --git a/vlib/v/help/other/other.txt b/vlib/v/help/other/other.txt index 44671919cb..84d0c3cb48 100644 --- a/vlib/v/help/other/other.txt +++ b/vlib/v/help/other/other.txt @@ -40,6 +40,6 @@ Other less frequently used commands supported by V include: Mainly useful as a parser bug finder for the V Language Server project. test-self Test if V is working properly by running all tests, including the compiler ones. - NB: this can 1-2 minutes to run. + NB: this can take 1-2 minutes to run. wipe-cache Remove the V cache folder. Useful for cleaning the cache, and guaranteeing a clean build. \ No newline at end of file