mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: implement os.cachedir() . Use it inside os.tmpdir() too
This commit is contained in:
committed by
Alexander Medvednikov
parent
43895269ff
commit
67f397f888
@@ -79,7 +79,7 @@ pub const (
|
||||
// create a new flag set for parsing command line arguments
|
||||
// TODO use INT_MAX some how
|
||||
pub fn new_flag_parser(args []string) &FlagParser {
|
||||
return &FlagParser{args:args, max_free_args: MAX_ARGS_NUMBER}
|
||||
return &FlagParser{args: args.clone(), max_free_args: MAX_ARGS_NUMBER}
|
||||
}
|
||||
|
||||
// change the application name to be used in 'usage' output
|
||||
|
||||
Reference in New Issue
Block a user