Skip to content
Permalink
Browse files

Cleanup of 'qgis --help' output.

  • Loading branch information
imincik committed Jun 4, 2013
1 parent f9a0a1d commit c2a458e6ad2b52f973041544d4011c4d09eb0e1f
Showing with 7 additions and 8 deletions.
  1. +7 −8 src/app/main.cpp
@@ -97,10 +97,9 @@ void usage( std::string const & appName )
{
std::cerr << "QGIS - " << VERSION << " '" << RELEASE_NAME << "' ("
<< QGSVERSION << ")\n"
<< "QGIS is a viewer for spatial data sets, including\n"
<< "raster and vector data.\n"
<< "Usage: " << appName << " [options] [FILES]\n"
<< " options:\n"
<< "QGIS is a user friendly Open Source Geographic Information System.\n"
<< "Usage: " << appName << " [OPTION] [FILE]\n"
<< " OPTION:\n"
<< "\t[--snapshot filename]\temit snapshot of loaded datasets to given file\n"
<< "\t[--width width]\twidth of snapshot to emit\n"
<< "\t[--height height]\theight of snapshot to emit\n"
@@ -113,14 +112,14 @@ void usage( std::string const & appName )
<< "\t[--customizationfile]\tuse the given ini file as GUI customization\n"
<< "\t[--optionspath path]\tuse the given QSettings path\n"
<< "\t[--configpath path]\tuse the given path for all user configuration\n"
<< "\t[--code path]\tRun the given python file on load. \n"
<< "\t[--code path]\trun the given python file on load\n"
<< "\t[--help]\t\tthis text\n\n"
<< " FILES:\n"
<< " FILE:\n"
<< " Files specified on the command line can include rasters,\n"
<< " vectors, and QGIS project files (.qgs): \n"
<< " 1. Rasters - Supported formats include GeoTiff, DEM \n"
<< " 1. Rasters - supported formats include GeoTiff, DEM \n"
<< " and others supported by GDAL\n"
<< " 2. Vectors - Supported formats include ESRI Shapefiles\n"
<< " 2. Vectors - supported formats include ESRI Shapefiles\n"
<< " and others supported by OGR and PostgreSQL layers using\n"
<< " the PostGIS extension\n" ; // OK

0 comments on commit c2a458e

Please sign in to comment.
You can’t perform that action at this time.