timeout: also support short -v option
commita72abc930499526d26f77ad3bcccadaf21ee48d7
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 27 Nov 2017 10:25:39 +0000 (27 11:25 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Mon, 27 Nov 2017 21:05:56 +0000 (27 22:05 +0100)
tree385d88a9ed7ce1596fc93a7f0943781270def6af
parent5f02cddc184a55b47d2b27c50c25d093d35ce13a
timeout: also support short -v option

* src/timeout.c (main): Add short option character 'v' to getopt_long
call.
* tests/misc/timeout.sh: Run the test both for the long and the short
option.
src/timeout.c
tests/misc/timeout.sh