NBISweden / sda-cli

User command line interface for the SDA
GNU Affero General Public License v3.0
5 stars 1 forks source link

[sda-cli] The `-bytes` option doesn't display file sizes in bytes #462

Open nanjiangshu opened 2 weeks ago

nanjiangshu commented 2 weeks ago

Describe the bug When listing the files with the -bytes option enabled, it still prints the file sizes in a human-readable format, instead of in bytes as expected.

Steps to reproduce Run the command

./sda-cli  list  -config s3cmd.conf  -bytes

and verify that the file sizes are still printed in a human-readable format.

Expected behavior

Additional context

Estimation of size: small

Estimation of priority: high