Skip to content

Commit c7be76c

Browse files
committed
Update code documentation
1 parent 60d3311 commit c7be76c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/jenv.ps1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ It"s written in cmd and powershell so it can change the enviroment variables and
1111
# Setup params
1212
param (
1313
<#
14-
"jenv list" List all registered Java-Envs.
15-
"jenv add <name> <path>" Adds a new Java-Version to JEnv which can be refferenced by the given name
16-
"jenv remove <name>" Removes the specified Java-Version from JEnv
17-
"jenv change <name>" Applys the given Java-Version globaly for all restarted shells and this one
18-
"jenv use <name>" Applys the given Java-Version locally for the current shell
19-
"jenv local <name>" Will use the given Java-Version whenever in this folder. Will set the Java-version for all subfolders as well
14+
"jenv list" List all registered Java-Envs.
15+
"jenv add <name> <path>" Adds a new Java-Version to JEnv which can be refferenced by the given name
16+
"jenv remove <name>" Removes the specified Java-Version from JEnv
17+
"jenv change <name>" Applys the given Java-Version globaly for all restarted shells and this one
18+
"jenv use <name>" Applys the given Java-Version locally for the current shell
19+
"jenv local <name>" Will use the given Java-Version whenever in this folder. Will set the Java-version for all subfolders as well
20+
"jenv autoscan <path> [-y]" Will scan the given path for java installations and ask to add them to JEnv. Path is optional and "--yes|-y" accepts defaults.
2021
#>
2122
[Parameter(Position = 0)][validateset("list", "add", "change", "use", "remove", "local", "getjava", "link", "uninstall", "autoscan")] [string]$action,
2223

0 commit comments

Comments
 (0)