google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.66k stars 337 forks source link

Bloaty accepts `-n 0` but not `max_rows_per_level: 0` when using `-c` option #375

Open kendalharland opened 4 months ago

kendalharland commented 4 months ago

Title is self explanatory. When bloaty is given max_rows_per_level: 0 via bloaty -c bloaty.textproto file it errors with:

bloaty: max_rows_per_level must be at least 1

However, specifying bloaty -n 0 on the command line does the right thing as expected.