mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
own-main.md: fix typo
This commit is contained in:
parent
fd1da4a1d1
commit
7bff9cb451
@ -38,7 +38,7 @@ If you still want Catch to process the command line, but you want to programatic
|
|||||||
|
|
||||||
int main( int argc, char* const argv[] )
|
int main( int argc, char* const argv[] )
|
||||||
{
|
{
|
||||||
Catch::Session session; // There must be exactly once instance
|
Catch::Session session; // There must be exactly one instance
|
||||||
|
|
||||||
// writing to session.configData() here sets defaults
|
// writing to session.configData() here sets defaults
|
||||||
// this is the preferred way to set them
|
// this is the preferred way to set them
|
||||||
@ -65,4 +65,4 @@ Catch embeds a powerful command line parser which you can also use to parse your
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[Home](Readme.md)
|
[Home](Readme.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user