1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v.help: fix typos (#18987)

This commit is contained in:
Turiiya 2023-07-28 01:29:48 +02:00 committed by GitHub
parent aa3d560b05
commit c7f708e64d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 13 deletions

View File

@ -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.

View File

@ -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

View File

@ -15,11 +15,11 @@ For more general build help, see also `v help build`.
-os <browser|wasi>, -target-os <browser|wasi>
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.

View File

@ -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`.

View File

@ -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).

View File

@ -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

View File

@ -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.