]> git.bitcoin.ninja Git - ldk-sample/commit
Prompt user to provide at least 2 arguments rather than 3
authorFreddieKrugerrand <freddiekrugerrand@protonmail.com>
Wed, 1 Feb 2023 20:23:00 +0000 (15:23 -0500)
committerFreddieKrugerrand <freddiekrugerrand@protonmail.com>
Wed, 1 Feb 2023 20:24:25 +0000 (15:24 -0500)
commita57de3b45e7497fcdeccfd0f2194ace46c61f34d
tree21c803fff550f8052d8e27dceb84f8fea5c7f8a6
parent899a1ae83835a032d2122f255aaf22b0518d7668
Prompt user to provide at least 2 arguments rather than 3

env::args returns the name of the binary, which isn't something
the end user would think about. So while we require at least 3
arguments, it makes sense to only ask for 2.
src/args.rs