Skip to content

Commit

Permalink
cli: add attribute doc for Flag.global (vlang#19224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 authored and Wertzui123 committed Oct 8, 2023
1 parent 48cc830 commit 1b225ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vlib/cli/flag.v
Original file line number Diff line number Diff line change
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 1b225ef

Please sign in to comment.