cli: add attribute doc for Flag.global (#19224)

This commit is contained in:
Xavier Mitault 2023-08-27 13:34:25 +02:00 committed by GitHub
parent 981ff192e4
commit 007519e130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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