From d5959907f58f1912351d3473b11ecd1972fe247a Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 23 Jan 2018 07:44:09 +0000 Subject: [PATCH] Added Catch::clara namespace to doc for adding Opt - Thanks to sakamoto-poteko in #1159 for point out its ommission --- docs/own-main.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/own-main.md b/docs/own-main.md index fbaff591..7de4b963 100644 --- a/docs/own-main.md +++ b/docs/own-main.md @@ -81,6 +81,7 @@ int main( int argc, char* argv[] ) int height = 0; // Some user variable you want to be able to set // Build a new parser on top of Catch's + using namespace Catch::clara; auto cli = session.cli() // Get Catch's composite command line parser | Opt( height, "height" ) // bind variable to a new option, with a hint string