Skip to content

Commit 007519e

Browse files
authored
cli: add attribute doc for Flag.global (#19224)
1 parent 981ff19 commit 007519e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vlib/cli/flag.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ pub mut:
2323
abbrev string
2424
// Desciption of flag
2525
description string
26-
global bool
26+
// If the flag is added to this command and to all subcommands
27+
global bool
2728
// If flag is requierd
2829
required bool
2930
// Default value if no value provide by command line

0 commit comments

Comments
 (0)