LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
optional_parameter_message.h
Go to the documentation of this file.
1 #ifndef fhiclcpp_types_detail_optional_parameter_message_h
2 #define fhiclcpp_types_detail_optional_parameter_message_h
3 
4 namespace fhicl::detail {
5  inline std::string
6  optional_parameter_message(bool const with_comment = true)
7  {
8  std::string result;
9  if (with_comment) {
10  result += "## ";
11  }
12  result += "Any parameters prefaced with '#' are optional.";
13  return result;
14  }
15 }
16 
17 #endif /* fhiclcpp_types_detail_optional_parameter_message_h */
18 
19 // Local variables:
20 // mode: c++
21 // End:
std::string optional_parameter_message(bool const with_comment=true)