Skip to content

Commit 43b8b5c

Browse files
authored
Merge pull request #43 from rosemwahlin/feature/HelpFix
Fixing incorrect argument type in help message
2 parents 6240309 + cf7262a commit 43b8b5c

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

6_content_filters/c++11/application.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ inline ApplicationArguments parse_arguments(int argc, char *argv[])
117117
" cleanly shutting down. \n"
118118
" -i, --sensor-id <string> Unique ID of temperature sensor.\n"\
119119
" Used only by tempering application.\n"\
120-
" -k, --station-kind <int> The type of ingredient station to start.\n"\
120+
" -k, --station-kind <string> The type of ingredient station to start.\n"\
121121
" Used only by ingredient application.\n"\
122122
" Values:\n"\
123123
" COCOA_BUTTER_CONTROLLER,\n"\

6_content_filters/c++98/application.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -180,23 +180,23 @@ inline void parse_arguments(
180180
}
181181
if (show_usage) {
182182
std::cout << "Usage:\n"\
183-
" -d, --domain <int> Domain ID this application will\n" \
184-
" subscribe in. \n"
185-
" Default: 0\n"\
186-
" -s, --sample-count <int> Number of samples to receive before\n"\
187-
" cleanly shutting down. \n"
188-
" Default: infinite\n"
189-
" -i, --sensor-id <string> Unique ID of temperature sensor.\n"\
190-
" -k, --station-kind <int> The type of ingredient station to start.\n"\
183+
" -d, --domain <int> Domain ID this application will\n" \
184+
" subscribe in. \n"
185+
" Default: 0\n"\
186+
" -s, --sample-count <int> Number of samples to receive before\n"\
187+
" cleanly shutting down. \n"
188+
" Default: infinite\n"
189+
" -i, --sensor-id <string> Unique ID of temperature sensor.\n"\
190+
" -k, --station-kind <string> The type of ingredient station to start.\n"\
191191
" Used only by ingredient application.\n"\
192192
" Values:\n"\
193193
" COCOA_BUTTER_CONTROLLER,\n"\
194194
" SUGAR_CONTROLLER,\n"\
195195
" MILK_CONTROLLER,\n"\
196196
" VANILLA_CONTROLLER\n"\
197-
" -v, --verbosity <int> How much debugging output to show.\n"\
198-
" Range: 0-5 \n"
199-
" Default: 0"
197+
" -v, --verbosity <int> How much debugging output to show.\n"\
198+
" Range: 0-5 \n"
199+
" Default: 0"
200200
<< std::endl;
201201
}
202202
}

0 commit comments

Comments
 (0)