From 8bc4122bea4f4f2ff4da0ca06128f07737bb99bc Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Mon, 30 Sep 2024 19:16:10 -0400 Subject: [PATCH] tweak: change phoenix help text when launched with -c --- src/phoenix/src/puter-shell/main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/phoenix/src/puter-shell/main.js b/src/phoenix/src/puter-shell/main.js index cf95326df..5eb89d266 100644 --- a/src/phoenix/src/puter-shell/main.js +++ b/src/phoenix/src/puter-shell/main.js @@ -170,8 +170,10 @@ export const launchPuterShell = async (ctx) => { ctx.externs.out.write( `${fire('Phoenix Shell')} [v${SHELL_VERSIONS[0].v}]\n` + - `⛷ try typing \x1B[34;1mhelp\x1B[0m or ` + - `\x1B[34;1mchangelog\x1B[0m to get started.\n` + + (! ctx.init_arguments.c ? + `⛷ try typing \x1B[34;1mhelp\x1B[0m or ` + + `\x1B[34;1mchangelog\x1B[0m to get started.\n` + : `'-c' was passed; running: \x1B[36;1m${ctx.init_arguments.c}\x1B[0m\n`) + // '\n' + // `🔗 ${mklink('https://puter.com', 'puter.com')} ` + ''