Skip to content

Commit

Permalink
Cleanup of 'qgis --help' output.
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Jun 4, 2013
1 parent f9a0a1d commit c2a458e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/app/main.cpp
Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit c2a458e

Please sign in to comment.