Closed weitsang closed 1 year ago
Remove the debugging messages for now. Can add the flags later.
The debugging message is removed. Should we also remove the progress message?
(base) young@YoungMacBookPro ~/local/vivotk main_fix_69 ± cargo run --bin vv -- read ./8i_dataset/red_black/ply_b/redandblack_vox10_1510.ply +output=plyb \
to_png +input=plyb --output-dir ./tmp/
Finished dev [unoptimized + debuginfo] target(s) in 0.51s
Running `target/debug/vv read ./8i_dataset/red_black/ply_b/redandblack_vox10_1510.ply +output=plyb to_png +input=plyb --output-dir ./tmp/`
=======================
read: 0
to_png: 0
=======================
=======================
read: 1
to_png: 0
=======================
=======================
read: 1
to_png: 1
=======================
Yes. We should follow the Unix CLI design philosophy. Debugging messages should be printed only if user explicitly ask for it.
I have removed it in commit 44087dc
When run with
A verbose output is shown. The tool should not print any messages unless explicitly asked to (e.g., add a
--verbose
or--progress
flag).etc