Changeset 41453d93 in mainline
- Timestamp:
- 2018-12-15T17:32:06Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c7afdf7a
- Parents:
- 0296ee1
- Location:
- uspace/app/bdsh/cmds/modules/ls
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
r0296ee1 r41453d93 79 79 ls->sort = 1; 80 80 81 ls-> well_formatted = true;81 ls->exact_size = false; 82 82 ls->single_column = false; 83 83 ls->printer = ls_print; … … 101 101 102 102 if (de->s.is_file) { 103 if ( ls.well_formatted) {103 if (!ls.exact_size) { 104 104 cap_spec_t cap; 105 105 … … 434 434 break; 435 435 case 'e': 436 ls. well_formatted = false;436 ls.exact_size = true; 437 437 break; 438 438 case '1': -
uspace/app/bdsh/cmds/modules/ls/ls.h
r0296ee1 r41453d93 25 25 26 26 bool single_column; 27 bool well_formatted;27 bool exact_size; 28 28 29 29 void (*printer)(struct dir_elem_t *);
Note:
See TracChangeset
for help on using the changeset viewer.