cli_wallet core dumps when cli_wallet -v is used
Behaviour is shown below:
bunker@son-hive:~/peerplays-testnet$ ./cli_wallet -v
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::unknown_option> >'
what(): unrecognised option '-v'
Aborted (core dumped)
Expected behavior:
When a non-existent value is passed on to the program as command line argument, it should not crash the program but it should be handled.
Version and environment information:
bunker@son-hive:~/peerplays-testnet$ ./witness_node -v
Version: test-1.5.4-48-g732cae96
Git Revision: 732cae963d97756c3abd4e4b6ffe332c2bc8a82c
Built: Dec 2 2021 at 14:47:06
SSL: OpenSSL 1.1.1 11 Sep 2018
Boost: 1.67
Linux son-hive.public 4.15.0-161-generic #169-Ubuntu SMP Fri Oct 15 13:41:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux