diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-08-31 01:22:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-31 00:22:20 +0000 |
commit | c29e5b9d1edc7fb8a67e58ba43ca95eb417025a2 (patch) | |
tree | fe82868cc22372e0ed36b2f2f34e80211e535fe8 /cli/tools/test | |
parent | a527b3a5de86d8753f7881faff694fbe3797d93d (diff) |
fix(upgrade): more informative information on invalid version (#25319)
Before:
```
$ deno upgrade v1.xx
error: Invalid version passed
```
After:
```
$ deno upgrade v1.xx
error: Invalid version passed (v1.xx)
Example usage:
deno upgrade | deno upgrade 1.46 | deno upgrade canary
```
Also updates help text to use "shorthand version" without flags, but a
positional arg.
Diffstat (limited to 'cli/tools/test')
0 files changed, 0 insertions, 0 deletions