Skip to content

Commit

Permalink
commandline: change size to human for more clarity
Browse files Browse the repository at this point in the history
Fixes #25
  • Loading branch information
mellowcandle committed Jul 19, 2019
1 parent 4740e1e commit ce9d77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int print_conversions(uint64_t val, bool si)
printf("%sHexdecimal: %s0x%" PRIx64 "\n", color_green, color_blue, val);
printf("%sOctal: %s0%" PRIo64 "\n", color_green, color_blue, val);
if (buf_size[0])
printf("%sSize: %s%s\n", color_green, color_blue, buf_size);
printf("%sHuman: %s%s\n", color_green, color_blue, buf_size);

printf("%sASCII: %s", color_green, color_blue);
for (i = sizeof(uint64_t) - 1; i >= 0; i--) {
Expand Down

0 comments on commit ce9d77d

Please sign in to comment.