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

flag: octal format

This commit is contained in:
yuyi
2020-03-21 03:21:16 +08:00
committed by GitHub
parent f89f83deb6
commit e6a679b019
2 changed files with 10 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ module flag
//
// fp.skip_executable()
//
// an_int := fp.int('an_int', 666, 'some int to define 666 is default')
// an_int := fp.int('an_int', 0o666, 'some int to define 0o666 is default')
// a_bool := fp.bool('a_bool', false, 'some \'real\' flag')
// a_float := fp.float('a_float', 1.0, 'also floats')
// a_string := fp.string('a_string', 'no text', 'finally, some text')