Skip to content

Commit

Permalink
cli: add attribute doc for Flag.global (#19224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Aug 27, 2023
1 parent 981ff19 commit 007519e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vlib/cli/flag.v
Expand Up @@ -23,7 +23,8 @@ pub mut:
abbrev string
// Desciption of flag
description string
global bool
// If the flag is added to this command and to all subcommands
global bool
// If flag is requierd
required bool
// Default value if no value provide by command line
Expand Down

0 comments on commit 007519e

Please sign in to comment.