Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno --version prints the version, but deno -v does not. #5289

Closed
davidgilbertson opened this issue May 13, 2020 · 6 comments
Closed

deno --version prints the version, but deno -v does not. #5289

davidgilbertson opened this issue May 13, 2020 · 6 comments

Comments

@davidgilbertson
Copy link

After squinting at the help screen I see that it's a capital V required when typing -V, so this isn't really a bug. But I imagine I'm not the only one who will type -v and get an error.

@startewho
Copy link

startewho commented May 14, 2020

OPTIONS:
-h, --help Prints help information
-L, --log-level Set log level [possible values: debug, info]
-q, --quiet Suppress diagnostic output
-V, --version Prints version information

seems a little confused

@frencojobs
Copy link

@davidgilbertson is right. Is there any specific reason why capital V is used? -v is more user friendly and preferable than -V.

@kevinkassimo
Copy link
Contributor

@davidgilbertson is right. Is there any specific reason why capital V is used? -v is more user friendly and preferable than -V.

This was intentional. -v might be confusing since it also can mean --verbose if we were to ever add this flag.

@frencojobs
Copy link

Ok, then I think this is no longer an issue since it was intentional. Someone close the issue, please.

@waldyrious
Copy link
Contributor

This was intentional. -v might be confusing since it also can mean --verbose if we were to ever add this flag.

@kevinkassimo Isn't a --verbose flag unlikely, given that there's --log-level already? I just bumped into this and had the same question/expectation as @davidgilbertson and @frencojobs.

FWIW, lowercase -v is associated with both --version and --verbose in the Linux Documentation Project's Standard Command-Line Options, and in The Art of Unix Programming's Command-Line Options (though the latter also offers uppercase -V for --version).

@dsherret
Copy link
Member

dsherret commented Jun 5, 2024

Deno 1.44+ supports the lowercase -v flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants