diff options
author | Nikolay Borisov <nborisov@suse.com> | 2022-07-01 14:35:12 +0300 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-17 17:31:40 -0700 |
commit | b62eb2731e17e83c32e1a6089b4463da1a75e66e (patch) | |
tree | 3af4d6f21f50e5273d0c4d6a508a09b2784af7bd /scripts/sign-file.c | |
parent | a16ceb13961068f7209e34d7984f8e42d2c06159 (diff) |
scripts/bloat-o-meter: switch argument parsing to using argparse
This will facilitate further extension to the arguments the script takes.
As an added benefit it also produces saner usage output, where mutual
exclusivity of the c|d|t parameters is clearly visible:
./scripts/bloat-o-meter -h
usage: bloat-o-meter [-h] [-c | -d | -t] file1 file2
Simple script used to compare the symbol sizes of 2 object files
positional arguments:
file1 First file to compare
file2 Second file to compare
optional arguments:
-h, --help show this help message and exit
-c categorize output based on symbol type
-d Show delta of Data Section
-t Show delta of text Section
Link: https://lkml.kernel.org/r/20220701113513.1938008-1-nborisov@suse.com
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/sign-file.c')
0 files changed, 0 insertions, 0 deletions