From 9fc794001a4b29f509508d399ffac8501cefd46e Mon Sep 17 00:00:00 2001 From: guest271314 Date: Sat, 4 Jan 2025 00:56:10 -0800 Subject: [PATCH] Update cli.md (#783) --- docs/docs/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/cli.md b/docs/docs/cli.md index 6878539..2ef6d11 100644 --- a/docs/docs/cli.md +++ b/docs/docs/cli.md @@ -66,7 +66,7 @@ $ qjs -c app.js -o app --exe qjs The resulting `app` binary will have the same runtime dependencies as the `qjs` binary. This is acomplished by compiling the target JavaScript file to bytecode and adding it a copy of the executable, with a little -trailer to help locate it. +trailer to help locate it. `--exe` expects the absolute path to `qjs`, e.g., `~/bin/qjs` or `$HOME/bin/qjs`. Rather than using the current executable, it's possible to use the `--exe` switch to create standalone executables for other platforms.