mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-07 16:12:47 +00:00
scripts: Reverted -o/-O to include all by-fields by default
For the same reason we output all field fields by default: Because machines can process more information than humans can. Worst case, by fields can still be limited via explicit -b/--by flags.
This commit is contained in:
@@ -1029,10 +1029,13 @@ def main(obj_paths, *,
|
||||
**args):
|
||||
# figure out what fields we're interested in
|
||||
if by is None:
|
||||
by = ['function']
|
||||
if args.get('output') or args.get('output_json'):
|
||||
by = CodeResult._by
|
||||
else:
|
||||
by = ['function']
|
||||
|
||||
if fields is None:
|
||||
fields = ['size']
|
||||
fields = CodeResult._fields
|
||||
|
||||
# find sizes
|
||||
if not args.get('use', None):
|
||||
|
||||
Reference in New Issue
Block a user