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

--help displays multiple outputs for the -h flag #710

Closed
jhalek90 opened this issue May 22, 2019 · 4 comments · Fixed by #857
Closed

--help displays multiple outputs for the -h flag #710

jhalek90 opened this issue May 22, 2019 · 4 comments · Fixed by #857
Labels
bug Something isn't working

Comments

@jhalek90
Copy link
Contributor

  • code-server version: 1.1119-vsc1.33.1
  • OS Version: Ubuntu 16.04

Description

-h flag is displayed as shorthand for both --host and --help

Steps to Reproduce

  1. code-server --help
    image
@jhalek90 jhalek90 added the bug Something isn't working label May 22, 2019
@sr229
Copy link
Contributor

sr229 commented May 24, 2019

CC @coadler

@deansheather
Copy link
Member

deansheather commented May 24, 2019

The shorthand for --host should be changed to -H as I've seen other tools do in the past.

EDIT: my bad, it's already taken by --allow-http.

@coadler
Copy link
Contributor

coadler commented May 24, 2019

Which one currently takes precedence?

@deansheather
Copy link
Member

-h does --host:

$ code-server -h
error: option `-h, --host <value>' argument missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants