Skip to content

Commit c2a458e

Browse files
committed
Cleanup of 'qgis --help' output.
1 parent f9a0a1d commit c2a458e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/app/main.cpp

+7-8
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,9 @@ void usage( std::string const & appName )
9797
{
9898
std::cerr << "QGIS - " << VERSION << " '" << RELEASE_NAME << "' ("
9999
<< QGSVERSION << ")\n"
100-
<< "QGIS is a viewer for spatial data sets, including\n"
101-
<< "raster and vector data.\n"
102-
<< "Usage: " << appName << " [options] [FILES]\n"
103-
<< " options:\n"
100+
<< "QGIS is a user friendly Open Source Geographic Information System.\n"
101+
<< "Usage: " << appName << " [OPTION] [FILE]\n"
102+
<< " OPTION:\n"
104103
<< "\t[--snapshot filename]\temit snapshot of loaded datasets to given file\n"
105104
<< "\t[--width width]\twidth of snapshot to emit\n"
106105
<< "\t[--height height]\theight of snapshot to emit\n"
@@ -113,14 +112,14 @@ void usage( std::string const & appName )
113112
<< "\t[--customizationfile]\tuse the given ini file as GUI customization\n"
114113
<< "\t[--optionspath path]\tuse the given QSettings path\n"
115114
<< "\t[--configpath path]\tuse the given path for all user configuration\n"
116-
<< "\t[--code path]\tRun the given python file on load. \n"
115+
<< "\t[--code path]\trun the given python file on load\n"
117116
<< "\t[--help]\t\tthis text\n\n"
118-
<< " FILES:\n"
117+
<< " FILE:\n"
119118
<< " Files specified on the command line can include rasters,\n"
120119
<< " vectors, and QGIS project files (.qgs): \n"
121-
<< " 1. Rasters - Supported formats include GeoTiff, DEM \n"
120+
<< " 1. Rasters - supported formats include GeoTiff, DEM \n"
122121
<< " and others supported by GDAL\n"
123-
<< " 2. Vectors - Supported formats include ESRI Shapefiles\n"
122+
<< " 2. Vectors - supported formats include ESRI Shapefiles\n"
124123
<< " and others supported by OGR and PostgreSQL layers using\n"
125124
<< " the PostGIS extension\n" ; // OK
126125

0 commit comments

Comments
 (0)