Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for documented byte/size units and for micros as a time unit in _cat API #17779

Merged
merged 1 commit into from
Apr 29, 2016

Commits on Apr 15, 2016

  1. Add support for documented byte/size units and for micros as a time u…

    …nit in _cat API
    
    We advertise in our documentation that byte units are like `kb`, `mb`... But we actually only support the simple notation `k` or `m`.
    This commit adds support for the documented form and keeps the non documented options to avoid any breaking change.
    
    It also adds support for `micros`, `nanos` and `d` as a time unit in `_cat` API.
    
    Remove the support for `b` as a SizeValue unit. Actually, for numbers, when using raw numbers without unit, there is no text to add/parse after the number. For example, you don't write `10` as `10b`. We support option like `size=` in `_cat` API which means that we want to display raw data without unit (singles).
    
    Documentation updated accordingly.
    
    Add test for the empty size option.
    
    Fix missing TimeValues options for some cat APIs
    dadoonet committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    5e1f26c View commit details
    Browse the repository at this point in the history