mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-10-28 15:55:08 +03:00
`-user foo` would fail with an ugly `panic: strconv.Atoi: parsing "foo": invalid syntax` as returned by `user.LookupId()`, whereas `user.Lookup()` nicely says `panic: user: unknown user foo` In chuser() it does not matter whether we check by ID or name first, so flip the order to get sensible logs without `fmt.Errorf()` wrapping. |
||
|---|---|---|
| .. | ||
| genkeys | ||
| yggdrasil | ||
| yggdrasilctl | ||