Skip to content

Commit

Permalink
v.help: cleanup the v help installation text
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Nov 14, 2024
1 parent 9bba3a0 commit 58e5799
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion vlib/v/help/help.v
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn print_and_exit(topic string, opts ExitOptions) {
println(os.read_file(topic_path) or {
eprintln('error: failed reading topic file: ${err}')
exit(fail_code)
})
}.trim_space())
exit(opts.exit_code)
}

Expand Down
18 changes: 9 additions & 9 deletions vlib/v/help/installation/installation.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Installation Management Utilities:

self Rebuild V with the passed options.

symlink Add a symlink for the V compiler executable.

up Update the V compiler to the latest version from https://github.com/vlang/v.

version Print the version of V installed
Installation management tools:

v up Update the V installation to its latest version.
v self Rebuild the V executable. Try for example: `v -prod self`.
v version Print the version of the V executable.
v symlink Add a global symlink to the V executable.

You can also `v download -RD URL` to download, and then run arbitrary
self contained `.v` or `.vsh` scripts/programs.

0 comments on commit 58e5799

Please sign in to comment.