summaryrefslogtreecommitdiff
path: root/scripts/jv_cli.ps1
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-12-06 04:21:28 +0800
committer魏曹先生 <1992414357@qq.com>2025-12-06 04:21:28 +0800
commit9221e90c81b43b796d8ad8be08b4fa65a55d24de (patch)
treed8f3d2c7a76170f78e38015406f44c1e25076721 /scripts/jv_cli.ps1
parent5fde983137bdc42d5e164a7ad6f797899ab5ed37 (diff)
Support windows
- Simplify PowerShell wrapper function parameter handling - Change log filename format to use hyphens instead of colons - Correct Windows drive letter extraction logic to avoid compilation errors
Diffstat (limited to 'scripts/jv_cli.ps1')
-rw-r--r--scripts/jv_cli.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/jv_cli.ps1 b/scripts/jv_cli.ps1
index 0325578..e8d3674 100644
--- a/scripts/jv_cli.ps1
+++ b/scripts/jv_cli.ps1
@@ -18,8 +18,7 @@ $env:JV_AUTO_UPDATE = "yes"
###############
function jv {
- param([string[]]$Arguments)
- & (Get-Command jv -CommandType Application) @Arguments
+ & (Get-Command jv -CommandType Application) @args
}
function jvh { jv here @args }