Commit f8731b9d authored by Tim Bureck's avatar Tim Bureck

Fixed ListCommand hiding ICommand's Execute method instead of overriding it

parent d7c970e9
......@@ -20,7 +20,7 @@ namespace TBureck.Terminal.Commands
this.Description = "Lists all available commands";
}
public void Execute(IInput input, IOutput output)
public override int Execute(IInput input, IOutput output)
{
output.WriteLine("Available commands:");
......@@ -29,6 +29,8 @@ namespace TBureck.Terminal.Commands
}
output.WriteLine($"\t{this.Name}\t\t\t{this.Description}");
return 0;
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment