Changeset 387 for trunk/gui/src/main.cpp

Show
Ignore:
Timestamp:
08/25/08 21:05:23 (5 years ago)
Author:
gabriel
Message:

Add command-line documentation for the LASH options.

The command line options --lash-no-start-server and --lash-no-autoresume
are required by the LASH API and supported automatically. This just
puts the help on the command line.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gui/src/main.cpp

    r377 r387  
    359359        std::cout << "   -d, --driver AUDIODRIVER - Use the selected audio driver (jack, alsa, oss)" << std::endl; 
    360360        std::cout << "   -s, --song FILE - Load a song (*.h2song) at startup" << std::endl; 
     361#ifdef LASH_SUPPORT 
     362        std::cout << "   --lash-no-start-server - If LASH server not running, don't start" << endl 
     363                  << "                            it (LASH 0.5.3 and later)." << std::endl; 
     364        std::cout << "   --lash-no-autoresume - Tell LASH server not to assume I'm returning" << std::endl 
     365                  << "                          from a crash." << std::endl; 
     366#endif 
    361367        std::cout << "   -n, --nosplash - Hide splash screen" << std::endl; 
    362368        std::cout << "   -V, --verbose - Print a lot of debugging info" << std::endl;