Readme.md
This commit is contained in:
1 parent
4b70b352c2
commit
54e2e2bc21
1 file changed
+2
-2
@@ -163,8 +163,8 @@ int main(int argc, char** argv)
|
||||
|
||||
// Register constraints
|
||||
args.RegisterConstraints({
|
||||
ParamConstraint::Require("--this-is-required"), // This missing throws an exception
|
||||
ParamConstraint::Require("--also-required-but-defaulted", {"122"}), // This will default to 122
|
||||
ParamConstraint::Require("--this-is-required"), // This missing throws an exception
|
||||
ParamConstraint::Require("--also-required-but-defaulted", {"122"}), // This will default to 122
|
||||
});
|
||||
|
||||
// Parse
|
||||
|
||||
Reference in new issue
Block a user