]> git.baikalelectronics.ru Git - uboot.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)
commit4ab4ccc30c69af21560da32a4da64e33b3befc2b
tree0925e20f81b8905743c20f5964b8d28d7607376d
parent05e8686557cf894352febcb6c0ad53626828a575
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