Changeset 41453d93 in mainline


Ignore:
Timestamp:
2018-12-15T17:32:06Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c7afdf7a
Parents:
0296ee1
Message:

rename option well_formatted with exact_size

Location:
uspace/app/bdsh/cmds/modules/ls
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/ls/ls.c

    r0296ee1 r41453d93  
    7979        ls->sort = 1;
    8080
    81         ls->well_formatted = true;
     81        ls->exact_size = false;
    8282        ls->single_column = false;
    8383        ls->printer = ls_print;
     
    101101
    102102        if (de->s.is_file) {
    103                 if (ls.well_formatted) {
     103                if (!ls.exact_size) {
    104104                        cap_spec_t cap;
    105105
     
    434434                        break;
    435435                case 'e':
    436                         ls.well_formatted = false;
     436                        ls.exact_size = true;
    437437                        break;
    438438                case '1':
  • uspace/app/bdsh/cmds/modules/ls/ls.h

    r0296ee1 r41453d93  
    2525
    2626        bool single_column;
    27         bool well_formatted;
     27        bool exact_size;
    2828
    2929        void (*printer)(struct dir_elem_t *);
Note: See TracChangeset for help on using the changeset viewer.