Print a notice in the --help view in debug builds.
This commit is contained in:
parent
41b0f59039
commit
c31d317d51
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ namespace duck {
|
|||
po::notify(parVarMap);
|
||||
|
||||
if (parVarMap.count("help")) {
|
||||
#if !defined(NDEBUG)
|
||||
std::cout << "*******************\n";
|
||||
std::cout << "*** DEBUG BUILD ***\n";
|
||||
std::cout << "*******************\n";
|
||||
std::cout << '\n';
|
||||
#endif
|
||||
po::options_description visible("Available options");
|
||||
visible.add(desc).add(query_options);
|
||||
std::cout << PROGRAM_NAME << " Copyright (C) 2015 Michele Santullo\n";
|
||||
|
|
Loading…
Reference in a new issue