From 35a9fc1f654172731463f5bf5d3ec4a43e50cb5c Mon Sep 17 00:00:00 2001 From: yuk7 Date: Mon, 6 May 2024 22:12:35 +0900 Subject: [PATCH] run: help: wrote note for inherit current directory behavior --- src/install/install.go | 2 +- src/run/help.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/install/install.go b/src/install/install.go index b75367f..a041904 100644 --- a/src/install/install.go +++ b/src/install/install.go @@ -34,7 +34,7 @@ var ( } ) -//Install installs distribution with default rootfs file names +// Install installs distribution with default rootfs file names func Install(name string, rootPath string, showProgress bool) error { rootPathLower := strings.ToLower(rootPath) if showProgress { diff --git a/src/run/help.go b/src/run/help.go index 0499da5..ca1e99a 100644 --- a/src/run/help.go +++ b/src/run/help.go @@ -6,7 +6,8 @@ func ShowHelp(showTitle bool) { println("Usage:") } println(" ") - println(" - Open a new shell with your default settings.") + println(" - Open a new shell with your default settings. ") + println(" Inherit current directory (with exception that %USERPROFILE% is changed to $HOME).") println() println(" run ") println(" - Run the given command line in that instance. Inherit current directory.")