From 16ca7851c5cded923d53047486c621b10ddeadfc Mon Sep 17 00:00:00 2001 From: lizzie Date: Thu, 4 Dec 2025 07:26:56 +0100 Subject: [qt, cmd] Document & fix some inconsistencies with command line arguments (#3104) - documents command line arguments - allows you to specify files starting with `-` Signed-off-by: lizzie lizzie@eden-emu.dev Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3104 Reviewed-by: Caio Oliveira Reviewed-by: crueter Co-authored-by: lizzie Co-committed-by: lizzie --- docs/user/CommandLine.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/user/CommandLine.md (limited to 'docs/user/CommandLine.md') diff --git a/docs/user/CommandLine.md b/docs/user/CommandLine.md new file mode 100644 index 0000000000..4b3a5bdf58 --- /dev/null +++ b/docs/user/CommandLine.md @@ -0,0 +1,22 @@ +# User Handbook - Command Line + +There are two main applications, an SDL2 based app (`eden-cli`) and a Qt based app (`eden`); both accept command line arguments. + +## eden +- `./eden `: Running with a single argument and nothing else, will make the emulator look for the given file and load it, this behaviour is similar to `eden-cli`; allows dragging and dropping games into the application. +- `-g `: Alternate way to specify what to load, overrides. However let it be noted that arguments that use `-` will be treated as options/ignored, if your game, for some reason, starts with `-`, in order to safely handle it you may need to specify it as an argument. +- `-f`: Use fullscreen. +- `-u `: Select the index of the user to load as. +- `-qlaunch`: Launch QLaunch. +- `-setup`: Launch setup applet. + +## eden-cli +- `--debug/-d`: Enter debug mode, allow gdb stub at port `1234` +- `--config/-c`: Specify alternate configuration file. +- `--fullscreen/-f`: Set fullscreen. +- `--help/-h`: Display help. +- `--game/-g`: Specify the game to run. +- `--multiplayer/-m`: Specify multiplayer options. +- `--program/-p`: Specify the program arguments to pass (optional). +- `--user/-u`: Specify the user index. +- `--version/-v`: Display version and quit. -- cgit v1.2.3