support/testing/run-tests: help: put the one-letter form before the long form
authorLuca Ceresoli <luca@lucaceresoli.net>
Tue, 16 May 2017 20:45:31 +0000 (22:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 17 May 2017 19:56:49 +0000 (21:56 +0200)
commitfa3c5cad44b245833612705a88101f3737d02b38
tree6c5d127d4ea670e0f9b745e6668e9535321f286d
parentee72dbe576e0c8e11a0bd61028950b2f8de29642
support/testing/run-tests: help: put the one-letter form before the long form

This is what the manpages usually do, and what Python does with the
automatically-added -h/--help parameter:

Before the change:
  $ ./support/testing/run-tests
    [...]
  optional arguments:
    -h, --help            show this help message and exit
    --list, -l            list of available test cases
    --all, -a             execute all test cases

After the change:
  $ ./support/testing/run-tests
    [...]
  optional arguments:
    -h, --help            show this help message and exit
    -l, --list            list of available test cases
    -a, --all             execute all test cases

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/testing/run-tests