mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-10-29 19:29:01 +00:00
Cleanup
This commit is contained in:
@@ -39,6 +39,7 @@ impl Command for HelpCommand {
|
||||
|
||||
fn exec(&self, _args: &[String], _: &mut LightClient) {
|
||||
// Print a list of all commands
|
||||
println!("Available commands:");
|
||||
get_commands().iter().for_each(| (cmd, obj) | {
|
||||
println!("{} - {}", cmd, obj.short_help());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user