mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +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 |