Skip to content

Commit f1ca027

Browse files
committed
Fix order of formats in --help
1 parent 00cdf04 commit f1ca027

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

src/main.cpp

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ class MyOutput : public TCLAP::StdOutput
7171
std::cout << "ALLOWED FORMATS:" << std::endl;
7272
std::cout << "\tCityJSON" << std::endl;
7373
std::cout << "\tCityJSONSeq" << std::endl;
74-
std::cout << "\ttu3djson" << std::endl;
74+
std::cout << "\tIndoorGML" << std::endl;
7575
std::cout << "\tJSON-FG" << std::endl;
7676
std::cout << "\tOBJ" << std::endl;
7777
std::cout << "\tOFF" << std::endl;
78-
std::cout << "\tIndoorGML" << std::endl;
78+
std::cout << "\ttu3djson" << std::endl;
7979
std::cout << "OPTIONS:" << std::endl;
8080
std::list<TCLAP::Arg*> args = c.getArgList();
8181
for (TCLAP::ArgListIterator it = args.begin(); it != args.end(); it++) {
@@ -93,8 +93,8 @@ class MyOutput : public TCLAP::StdOutput
9393
std::cout << "\t\tValidate each City Object and each 3D primitive in input.json (CityJSON file)" << std::endl;
9494
std::cout << "\t\tand print a summary" << std::endl;
9595

96-
std::cout << "\tval3dity input.json --report /home/elvis/temp/myreport.json" << std::endl;
97-
std::cout << "\t\tValidate each 3D primitive in input.json (tu3djson file)" << std::endl;
96+
std::cout << "\tval3dity input.city.json --report /home/elvis/temp/myreport.json" << std::endl;
97+
std::cout << "\t\tValidate each 3D primitive in input.city.json (CityJSON file)" << std::endl;
9898
std::cout << "\t\tand output a detailed JSON report '/home/elvis/temp/myreport.json';" << std::endl;
9999
std::cout << "\t\tbrowse that report at http://geovalidation.bk.tudelft.nl/val3dity/browser/" << std::endl;
100100

@@ -103,9 +103,6 @@ class MyOutput : public TCLAP::StdOutput
103103

104104
std::cout << "\tval3dity input.obj" << std::endl;
105105
std::cout << "\t\tValidate the geometries in input.obj as if they were an ISO19107 Solid (default)" << std::endl;
106-
107-
std::cout << "\tval3dity myindoorgml.gml --snap_tol 0.1" << std::endl;
108-
std::cout << "\t\tThe vertices in myindoorgml.gml closer than 0.1unit are snapped together" << std::endl;
109106
}
110107

111108
virtual void failure(TCLAP::CmdLineInterface& c, TCLAP::ArgException& e)
@@ -190,7 +187,7 @@ int main(int argc, char* const argv[])
190187
try {
191188
TCLAP::UnlabeledValueArg<std::string> inputfile(
192189
"inputfile",
193-
"allowed formats: CityJSON, CityJSONSeq, tu3djson, JSON-FG, IndoorGML, OBJ, or OFF",
190+
"allowed formats: CityJSON, CityJSONSeq, IndoorGML, JSON-FG, OBJ, OFF, and tu3djson",
194191
true,
195192
"",
196193
"string");

0 commit comments

Comments
 (0)