LNP-WG / lnp-node

Lightning network protocol daemon (suitable for generalized Lightning Network)
MIT License
145 stars 40 forks source link

adding a hint to lnpd init to panic #60

Closed ghost closed 1 year ago

ghost commented 1 year ago

If a user simply installs the application and runs lnpd without any options or flags, they reach this panic statement. This PR adds a hint to the lnpd init and help commands, for users who are not familiar with a CLI. This should also maybe be changed to be a regular programm exit, instead of a panic! since the rusts hints of running it with the BACKTRACE option are unnecessary in this case.