diff --git a/retroarch.c b/retroarch.c index 16fc023a70..13ab039123 100644 --- a/retroarch.c +++ b/retroarch.c @@ -130,61 +130,70 @@ static void print_help(const char *arg0) fprintf(stdout, "Built: %s\n", __DATE__); puts("==================================================================="); printf("Usage: %s [OPTIONS]... [FILE]\n", arg0); - puts(" -h, --help Show this help message."); - puts(" --menu: Do not require content or libretro core to be loaded, starts directly in menu."); - puts(" \tIf no arguments are passed to " RETRO_FRONTEND ", it is equivalent to using --menu as only argument."); - puts(" --features: Prints available features compiled into " RETRO_FRONTEND "."); - puts(" -s, --save: Path for save file (*.srm)."); - puts(" -f, --fullscreen: Start " RETRO_FRONTEND " in fullscreen regardless of config settings."); - puts(" -S, --savestate: Path to use for save states. If not selected, *.state will be assumed."); - puts(" -c, --config: Path for config file." RARCH_DEFAULT_CONF_PATH_STR); - puts(" --appendconfig: Extra config files are loaded in, and take priority over config selected in -c (or default)."); - puts(" \tMultiple configs are delimited by '|'."); + + puts(" -h, --help Show this help message."); + puts(" --menu Do not require content or libretro core to be loaded,\n" + " starts directly in menu. If no arguments are passed to\n" + " " RETRO_FRONTEND ", it is equivalent to using --menu as only argument."); + puts(" --features Prints available features compiled into " RETRO_FRONTEND "."); + puts(" -s, --save=FILE Path for save file (*.srm)."); + puts(" -f, --fullscreen Start " RETRO_FRONTEND " in fullscreen regardless of config settings."); + puts(" -S, --savestate=FILE Path to use for save states. If not selected, *.state will be assumed."); + puts(" -c, --config=FILE Path for config file." RARCH_DEFAULT_CONF_PATH_STR); + puts(" --appendconfig=FILE\n" + " Extra config files are loaded in, and take priority over\n" + " config selected in -c (or default). Multiple configs are\n" + " delimited by '|'."); #ifdef HAVE_DYNAMIC - puts(" -L, --libretro: Path to libretro implementation. Overrides any config setting."); + puts(" -L, --libretro=FILE Path to libretro implementation. Overrides any config setting."); #endif - puts(" --subsystem: Use a subsystem of the libretro core. Multiple content files are loaded as multiple arguments."); - puts(" \tIf a content file is skipped, use a blank (\"\") command line argument"); - puts(" \tContent must be loaded in an order which depends on the particular subsystem used."); - puts(" \tSee verbose log output to learn how a particular subsystem wants content to be loaded."); + puts(" --subsystem=NAME Use a subsystem of the libretro core. Multiple content\n" + " files are loaded as multiple arguments. If a content\n" + " file is skipped, use a blank (\"\") command line argument.\n" + " Content must be loaded in an order which depends on the\n" + " particular subsystem used. See verbose log output to learn\n" + " how a particular subsystem wants content to be loaded.\n"); - printf(" -N, --nodevice: Disconnects controller device connected to port (1 to %d).\n", MAX_USERS); - printf(" -A, --dualanalog: Connect a DualAnalog controller to port (1 to %d).\n", MAX_USERS); - printf(" -d, --device: Connect a generic device into port of the device (1 to %d).\n", MAX_USERS); - puts(" \tFormat is port:ID, where ID is an unsigned number corresponding to the particular device.\n"); + printf(" -N, --nodevice=PORT\n" + " Disconnects controller device connected to PORT (1 to %d).\n", MAX_USERS); + printf(" -A, --dualanalog=PORT\n" + " Connect a DualAnalog controller to PORT (1 to %d).\n", MAX_USERS); + printf(" -d, --device=PORT:ID\n" + " Connect a generic device into PORT of the device (1 to %d).\n", MAX_USERS); + puts(" Format is PORT:ID, where ID is a number corresponding to the particular device."); - puts(" -P, --bsvplay: Playback a BSV movie file."); - puts(" -R, --bsvrecord: Start recording a BSV movie file from the beginning."); - puts(" --eof-exit: Exit upon reaching the end of the BSV movie file."); - puts(" -M, --sram-mode: Takes an argument telling how SRAM should be handled in the session."); - puts(" \t{no,}load-{no,}save describes if SRAM should be loaded, and if SRAM should be saved."); - puts(" \tDo note that noload-save implies that save files will be deleted and overwritten."); + puts(" -P, --bsvplay=FILE Playback a BSV movie file."); + puts(" -R, --bsvrecord=FILE Start recording a BSV movie file from the beginning."); + puts(" --eof-exit Exit upon reaching the end of the BSV movie file."); + puts(" -M, --sram-mode=MODE SRAM handling mode. MODE can be 'noload-nosave',\n" + " 'noload-save', 'load-nosave' or 'load-save'.\n" + " Note: 'noload-save' implies that save files *WILL BE OVERWRITTEN*."); #ifdef HAVE_NETPLAY - puts(" -H, --host: Host netplay as user 1."); - puts(" -C, --connect: Connect to netplay as user 2."); - puts(" --port: Port used to netplay. Default is 55435."); - puts(" -F, --frames: Sync frames when using netplay."); - puts(" --spectate: Netplay will become spectating mode."); - puts(" \tHost can live stream the game content to users that connect."); - puts(" \tHowever, the client will not be able to play. Multiple clients can connect to the host."); + puts(" -H, --host Host netplay as user 1."); + puts(" -C, --connect=HOST Connect to netplay server as user 2."); + puts(" --port=PORT Port used to netplay. Default is 55435."); + puts(" -F, --frames=NUMBER Sync frames when using netplay."); + puts(" --spectate Connect to netplay server as spectator."); #endif - puts(" --nick: Picks a username (for use with netplay). Not mandatory."); + puts(" --nick=NICK Picks a username (for use with netplay). Not mandatory."); #if defined(HAVE_NETWORK_CMD) && defined(HAVE_NETPLAY) - puts(" --command: Sends a command over UDP to an already running " RETRO_FRONTEND " process."); - puts(" \tAvailable commands are listed if command is invalid."); + puts(" --command Sends a command over UDP to an already running " RETRO_FRONTEND " process."); + puts(" Available commands are listed if command is invalid."); #endif - puts(" -r, --record: Path to record video file.\n\t\tUsing .mkv extension is recommended."); - puts(" --recordconfig: Path to settings used during recording."); - puts(" --size: Overrides output video size when recording (format: WIDTHxHEIGHT)."); - puts(" -v, --verbose: Verbose logging."); - puts(" -U, --ups: Specifies path for UPS patch that will be applied to content."); - puts(" --bps: Specifies path for BPS patch that will be applied to content."); - puts(" --ips: Specifies path for IPS patch that will be applied to content."); - puts(" --no-patch: Disables all forms of content patching."); - puts(" -D, --detach: Detach " RETRO_FRONTEND " from the running console. Not relevant for all platforms."); - puts(" --max-frames: Runs for the specified number of frames, then exits.\n"); + puts(" -r, --record=FILE Path to record video file.\n Using .mkv extension is recommended."); + puts(" --recordconfig Path to settings used during recording."); + puts(" --size=WIDTHxHEIGHT\n" + " Overrides output video size when recording."); + puts(" -v, --verbose Verbose logging."); + puts(" -U, --ups=FILE Specifies path for UPS patch that will be applied to content."); + puts(" --bps=FILE Specifies path for BPS patch that will be applied to content."); + puts(" --ips=FILE Specifies path for IPS patch that will be applied to content."); + puts(" --no-patch Disables all forms of content patching."); + puts(" -D, --detach Detach " RETRO_FRONTEND " from the running console. Not relevant for all platforms."); + puts(" --max-frames=NUMBER\n" + " Runs for the specified number of frames, then exits.\n"); } static void set_basename(const char *path)