Skip to content

Add ISO size formats to db size#104

Merged
schlessera merged 3 commits intowp-cli:masterfrom
fumikito:fix-size-format
Jul 31, 2018
Merged

Add ISO size formats to db size#104
schlessera merged 3 commits intowp-cli:masterfrom
fumikito:fix-size-format

Conversation

@fumikito
Copy link
Contributor

  • Add new formats(Kib, KB and etc).
  • Add help comment.
  • Add scenario test.

Hope it helps!

* - gb (gigabytes)
* - tb (terabytes)
* - B (ISO Byte setting, with no conversion)
* - KB (ISO Kilobyte setting, with 1 kB = 1,000 B)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Case is wrong in explanation. kB => KB

* - B (ISO Byte setting, with no conversion)
* - KB (ISO Kilobyte setting, with 1 kB = 1,000 B)
* - KiB (ISO Kibibyte setting, with 1 KiB = 1,024 B)
* - MB (ISO Megabyte setting, with 1 MB = 1,000 kB)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Case is wrong in explanation. kB => KB

@fumikito
Copy link
Contributor Author

@schlessera Thank you for your review. Sorry for my typo and now they are fixed!

@miya0001 miya0001 self-requested a review July 21, 2018 01:55
@schlessera schlessera added this to the 1.3.5 milestone Jul 31, 2018
@schlessera schlessera merged commit c260be5 into wp-cli:master Jul 31, 2018
@schlessera
Copy link
Member

Thanks for the pull-request, @fumikito!

@schlessera schlessera changed the title Add size formats as described in issue #102 Add ISO size formats to db size Jul 31, 2018
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Add size formats as described in issue #102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants