#include <arser.h>
Definition at line 752 of file arser.h.
◆ add_verbose()
static void arser::Helper::add_verbose |
( |
Arser & |
arser | ) |
|
|
inlinestatic |
Definition at line 765 of file arser.h.
766 {
767 arser.add_argument(
"-V",
"--verbose")
768 .nargs(0)
769 .required(false)
770 .default_value(false)
771 .help("output additional information to stdout or stderr");
772 }
Referenced by entry(), and entry().
◆ add_version()
static void arser::Helper::add_version |
( |
Arser & |
arser, |
|
|
const std::function< void(void)> & |
func |
|
) |
| |
|
inlinestatic |
Definition at line 755 of file arser.h.
756 {
757 arser.add_argument(
"--version")
758 .nargs(0)
759 .required(false)
760 .default_value(false)
761 .help("Show version information and exit")
762 .exit_with(func);
763 }
Referenced by entry(), and entry().
The documentation for this class was generated from the following file:
- compiler/arser/include/arser/arser.h