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

yggdrasil flag provided but not defined: -v #5

Open
slrslr opened this issue Jan 4, 2023 · 0 comments
Open

yggdrasil flag provided but not defined: -v #5

slrslr opened this issue Jan 4, 2023 · 0 comments

Comments

@slrslr
Copy link

slrslr commented Jan 4, 2023

Hello, this is what i have on Debian 11: yggdrasil/unknown,now 0.4.7 amd64 [installed]

$ sudo yggdrasilctl -v getSelf

flag provided but not defined: -v
Usage: yggdrasilctl [options] command [key=value] [key=value] ...

Options:
-endpoint string
Admin socket endpoint (default "unix:///var/run/yggdrasil.sock")
-json
Output in JSON format (as opposed to pretty-print)
-version
Prints the version of this build

Please note that options must always specified BEFORE the command
on the command line or they will be ignored.

Commands:

  • Use "list" for a list of available commands

Examples:

  • yggdrasilctl list
  • yggdrasilctl getPeers
  • yggdrasilctl -v getSelf
  • yggdrasilctl setTunTap name=auto mtu=1500 tap_mode=false
  • yggdrasilctl -endpoint=tcp://localhost:9001 getDHT
  • yggdrasilctl -endpoint=unix:///var/run/ygg.sock getDHT

As you can see -v not defined, but yet it suggest it in Examples as shown above.

What WORKS is: $ sudo yggdrasilctl getSelf

Can this be fixed to work anyway or suggest working commands in examples?

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

1 participant