mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-18 16:47:33 +01:00
help command
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
for (int i = 0; i < argc; i++) {
|
||||
if (std::string(argv[i]) == "--help")
|
||||
{
|
||||
std::cout << "Usage: " << argv[0] << " <directory>" << std::endl;
|
||||
std::cout << "directory: The directory containing the calibration images." << std::endl;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (argc < 2) {
|
||||
std::cout << "Usage: " << argv[0] << " <directory>" << std::endl;
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user