Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve rpcauth.py by using argparse and getpass modules #14756
Conditional tested ACK ffba16cab0f1549d8b5b18bd254fb52ab44b2876.
This changes the interface to rpcauth.py: previously
Is that ok? If this script is only used manually and occasionally, then it's fine, but if it's called by other scripts it could be annoying.
Note that we don't have a standalone test for rpcauth, and the coverage provided by rpc_users.py doesn't test providing a password, so didn't catch this interface change.