mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
os: tmpdir => temp_dir
This commit is contained in:
parent
7e1870be3e
commit
57b1b12ab6
9 changed files with 13 additions and 13 deletions
|
@ -136,7 +136,7 @@ pub fn (vgit_context mut VGitContext) compile_oldv_if_needed() {
|
|||
}
|
||||
|
||||
pub fn add_common_tool_options<T>(context mut T, fp mut flag.FlagParser) []string {
|
||||
tdir := os.tmpdir()
|
||||
tdir := os.temp_dir()
|
||||
context.workdir = os.realpath(fp.string_('workdir', `w`, tdir, 'A writable base folder. Default: $tdir'))
|
||||
context.v_repo_url = fp.string('vrepo', vgit.remote_v_repo_url, 'The url of the V repository. You can clone it locally too. See also --vcrepo below.')
|
||||
context.vc_repo_url = fp.string('vcrepo', vgit.remote_vc_repo_url, 'The url of the vc repository. You can clone it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue