diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index 487fec5..0b14dc3 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -90,7 +90,7 @@ jobs: ``` msdl # fully interactive (includes Server/Enterprise) msdl "windows 11 25h2" # filter products, pick language - msdl --id 3262 --lang "English (United States)" # direct, no prompts + msdl --id 3262 --lang "English" # direct, no prompts msdl --eval server-2025 # evaluation ISOs directly msdl --list # list all products ``` diff --git a/cli/main.go b/cli/main.go index 5297457..75289f2 100644 --- a/cli/main.go +++ b/cli/main.go @@ -167,7 +167,7 @@ func run(args []string) error { Usage: msdl [search terms] interactive: filter + pick product, pick language msdl --id 3262 skip product picker - msdl --id 3262 --lang "English (United States)" no prompts, print URL directly + msdl --id 3262 --lang "English" no prompts, print URL directly (language names vary by product — omit --lang or check the error's "available" list to see them) msdl --eval [slug] evaluation ISOs (server-2025, win11-ent, ...) @@ -185,7 +185,7 @@ More info: https://msdl.tech-latest.com/cli`) } productID := fs.String("id", "", "consumer product ID (skips product picker)") - langFlag := fs.String("lang", "", `language name, e.g. "English (United States)"`) + langFlag := fs.String("lang", "", `language name, e.g. "English"`) evalMode := fs.Bool("eval", false, "fetch evaluation ISOs") listMode := fs.Bool("list", false, "list all products and exit") noContributeFlag := fs.Bool("no-contribute", false, "skip sharing the link with the msdl.tech cache")