diff --git a/paramkit/include/param.h b/paramkit/include/param.h index 1f218ef..6bb29dc 100644 --- a/paramkit/include/param.h +++ b/paramkit/include/param.h @@ -17,6 +17,7 @@ #include "strings_util.h" #define PARAM_UNINITIALIZED (-1) +#define INFO_SPACER "\t " #define PARAM_SWITCH1 '/' ///< The switch used to recognize that the given string should be treated as a parameter (variant 1) #define PARAM_SWITCH2 '-' ///< The switch used to recognize that the given string should be treated as a parameter (variant 2) diff --git a/paramkit/include/params.h b/paramkit/include/params.h index 4c5cbaf..96fed0f 100644 --- a/paramkit/include/params.h +++ b/paramkit/include/params.h @@ -440,7 +440,7 @@ namespace paramkit { if (myParams.size()) { std::map::iterator itr = myParams.begin(); std::stringstream ss1; - ss1 << "\t Example: " << PARAM_SWITCH1 << itr->first << " ?"; + ss1 << INFO_SPACER << "Example: " << PARAM_SWITCH1 << itr->first << " ?"; paramInfoP.m_extInfo = ss1.str(); } }