Commit 3253f145 authored by Committed by Mattia Rizzolo
diffoscope: Specify choices for --list-tools switch.
This gives the user more information about what they can specify as an argument, and generates a nicer error message if they give an unrecognized argument. With that done, we can simplify the implementation of ListToolsAction, because argparse has already validated the argument. Signed-off-by: Mattia Rizzolo <email@example.com>
Showing with 16 additions and 17 deletions