From f560314352aba149c78fa3182cca2105f4ffb59f Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Mon, 13 May 2024 17:25:34 +0200 Subject: [PATCH] doc: added new option in usage help text (fixes #1319) --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 3ed42e78f..93e47426e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -825,6 +825,8 @@ void usage() std::cout << " Edit a configuration file in order to know valid parameters and settings." << '\n'; std::cout << "\nAdditional options:" << '\n'; + std::cout << "amiberry Auto-detect the type of file and use the default action for it." << '\n'; + std::cout << " Supported file types are: .uae config, .lha WHDLoad, CD images and disk images." << '\n'; std::cout << " -0 Insert specified ADF image into emulated floppy drive 0-3." << '\n'; std::cout << " -1 " << '\n'; std::cout << " -2 " << '\n'; @@ -867,6 +869,9 @@ void usage() std::cout << "amiberry --config conf/A500.uae --statefile savestates/game.uss -s use_gui=no" << '\n'; std::cout << "This will load the conf/A500.uae configuration file, with the save state named game." << '\n'; std::cout << "It will override 'use_gui' to 'no', so that it enters emulation directly." << '\n'; + std::cout << "\nExample 3:" << '\n'; + std::cout << "amiberry lha/MyGame.lha" << '\n'; + std::cout << "This will load the WHDLoad game MyGame.lha, using the autoload mechanism." << '\n'; exit(0); }