Skip to content

Commit

Permalink
Merge branch 'dev/fix-pos2krtd-usage-usage' into release
Browse files Browse the repository at this point in the history
Fixed the reporting of an out-of-date usage message

* dev/fix-pos2krtd-usage-usage:
  update release notes
  Fixed the use of an error message reporting incorrect usage
  • Loading branch information
mleotta committed Mar 27, 2014
2 parents 0dfba5b + 194e1c4 commit b4199a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 5 additions & 0 deletions doc/rel_notes/0.3.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ Fixes since v0.3.0
Core Library

* Added feet-meter conversions in camera and INS data update functions.

Tools

* Fixed erronious reporting of an out-of-date usage message. Now reports
currect current usage.
10 changes: 2 additions & 8 deletions tools/pos2krtd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,8 @@ static int maptk_main(int argc, char const* argv[])
catch (bpo::unknown_option const& e)
{
std::cerr << e.what() << std::endl
<< std::endl
<< "Usage: " << argv[0] << " file.pos file.krtd" << std::endl
<< " : " << argv[0] << " pos_dir output_dir" << std::endl
<< std::endl
<< "If multiple POS files are to be converted into KRTD " << std::endl
<< "files, it is recomended to use the directory arguments " << std::endl
<< "in order for the application to create a unified local " << std::endl
<< "coordinate system." << std::endl;
<< std::endl;
usage(argc, argv, opt_desc, vm);
return EXIT_FAILURE;
}
bpo::notify(vm);
Expand Down

0 comments on commit b4199a0

Please sign in to comment.