From c9c956fc8a1a96ebdb34a4ff1ff0bf24d647debb Mon Sep 17 00:00:00 2001 From: Fabien Salathe Date: Sun, 10 May 2020 22:27:14 +0200 Subject: [PATCH] flag: fix a comment with an example --- vlib/flag/flag.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vlib/flag/flag.v b/vlib/flag/flag.v index 0919a92bfb..a92d7ee993 100644 --- a/vlib/flag/flag.v +++ b/vlib/flag/flag.v @@ -23,10 +23,10 @@ module flag // // fp.skip_executable() // -// 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') +// an_int := fp.int('an_int', 0, 0o666, 'some int to define 0o666 is default') +// a_bool := fp.bool('a_bool', 0, false, 'some \'real\' flag') +// a_float := fp.float('a_float', 0, 1.0, 'also floats') +// a_string := fp.string('a_string', `a`, 'no text', 'finally, some text with "a" an abbreviation') // // additional_args := fp.finalize() or { // eprintln(err)