Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 529 Bytes

03_01_flag_bool.md

File metadata and controls

26 lines (18 loc) · 529 Bytes
$ 03_01_flag_bool --help
A simple to use, efficient, and full-featured Command Line Argument Parser

Usage: 03_01_flag_bool[EXE] [OPTIONS]

Options:
  -v, --verbose  
  -h, --help     Print help information
  -V, --version  Print version information

$ 03_01_flag_bool
verbose: false

$ 03_01_flag_bool --verbose
verbose: true

$ 03_01_flag_bool --verbose --verbose
? failed
error: The argument '--verbose' cannot be used with '--verbose'

Usage: 03_01_flag_bool[EXE] [OPTIONS]

For more information try '--help'