]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Sort the command line options
authorBin Meng <bmeng.cn@gmail.com>
Mon, 4 May 2020 07:52:43 +0000 (00:52 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 May 2020 02:55:45 +0000 (20:55 -0600)
commit0fc01bf826036698a8d0eb8405e832a6a759472e
tree0925e20f81b8905743c20f5964b8d28d7607376d
parent979afd14c3e29dedcc020a49f59d6cb28124f038
patman: Sort the command line options

Sort the existing command line options by:

- help comes first
- option starts with '-'
- option starts with '--'

Lower case followed by upper case letters, in alphabetical order.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/main.py