Skip to content
Permalink
Browse files

Merge pull request #631 from imincik/cmdout

Cleanup of 'qgis --help' output.
  • Loading branch information
NathanW2 committed Jun 4, 2013
2 parents 068da60 + c2a458e commit 5e2977715397dcad2c5833372d312708a9923ae4
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 5e29777

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