Commit 4ef49d00 authored by Louis's avatar Louis
Browse files

[pyromaths ls] Ajout des tags à la sortie --verbose

parent 0181d727
......@@ -184,7 +184,11 @@ def do_ls(options): # pylint: disable=unused-argument
bag = ExerciseBag()
for name in sorted(bag, key=str.lower):
if options.verbose:
print(u"{}: {}".format(name, bag[name].description()))
print(u"{}: {} {}".format(
name,
bag[name].description(),
bag[name].tags,
))
else:
print(name)
......
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