diff --git a/src/Tools/tnl-diff.cpp b/src/Tools/tnl-diff.cpp index 360423de72b98ff0d49c54fd04bd4f068773c915..b35dba1726d34d729906b6c0cc4d3a5f753da06f 100644 --- a/src/Tools/tnl-diff.cpp +++ b/src/Tools/tnl-diff.cpp @@ -28,7 +28,7 @@ void setupConfig( Config::ConfigDescription& config ) config.addEntry< bool >( "write-graph", "Draws a graph in the Gnuplot format of the dependence of the error norm on t.", true ); config.addEntry< bool >( "write-log-graph", "Draws a logarithmic graph in the Gnuplot format of the dependence of the error norm on t.", true ); config.addEntry< double >( "snapshot-period", "The period between consecutive snapshots.", 0.0 ); - config.addEntry< int >( "verbose", "Sets verbosity.", 1 ); + config.addEntry< bool >( "verbose", "Sets verbosity.", true ); } int main( int argc, char* argv[] ) diff --git a/src/Tools/tnl-diff.h b/src/Tools/tnl-diff.h index 9623aa34bc1df8d5704746e64427a5830d208a88..0f90bc28aa400c22aeda2ec8eabbb3e99e07fbab 100644 --- a/src/Tools/tnl-diff.h +++ b/src/Tools/tnl-diff.h @@ -604,7 +604,7 @@ bool setValueType( const MeshPointer& meshPointer, template< typename Mesh > bool processFiles( const Config::ParameterContainer& parameters ) { - int verbose = parameters. getParameter< int >( "verbose"); + int verbose = parameters. getParameter< bool >( "verbose"); std::vector< String > inputFiles = parameters. getParameter< std::vector< String > >( "input-files" ); /****