Return string argument, or std::nullopt if it was not set.
Declared in <common/args.h>
[[requires_capability(0x7f2e381ad368)]]
std::optional<std::string>
GetArg(std::string const& strArg) const;
The argument value, or std::nullopt if unset.
| Name | Description |
|---|---|
| strArg | Argument to get (e.g. "-foo"). |