mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cmd/v: rewrite flags
This commit is contained in:
@ -19,11 +19,12 @@ pub mut:
|
||||
show_ok_tests bool
|
||||
}
|
||||
|
||||
pub fn new_test_session(vargs string) TestSession {
|
||||
pub fn new_test_session(_vargs string) TestSession {
|
||||
vargs := _vargs.replace('-silent', '')
|
||||
return TestSession{
|
||||
vexe: pref.vexe_path()
|
||||
vargs: vargs
|
||||
show_ok_tests: !vargs.contains('-silent')
|
||||
show_ok_tests: !_vargs.contains('-silent')
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user