Skip to content

Commit d5cfc4d

Browse files
author
Avi SZYCHTER
committed
Added --help in the showUsage message
1 parent f5f0975 commit d5cfc4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/can-parse/can-parse.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ void showUsage(std::ostream& ostrm, char* program_name) {
2929
ostrm << "\t" << std::setw(22) << "" << "if CAN ID is specified, prints the details of the given frame" << std::endl;
3030
ostrm << "\t" << std::setw(22) << (CHECKFRAME_ACTION + " [CAN ID]") << "Check different properties of the CAN database" << std::endl;
3131
ostrm << "\t" << std::setw(22) << "" << "if CAN ID is specified, print the check details of the given frame" << std::endl;
32+
ostrm << "\t" << std::setw(22) << "-h / --help" << "Print the present help message" << std::endl;
3233
ostrm << "Currently supported formats: DBC" << std::endl;
3334
}
3435

0 commit comments

Comments
 (0)