]> git.tuebingen.mpg.de Git - gsu.git/commit
com_help(): Improve formating of command/description list
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 2 Aug 2023 21:09:11 +0000 (23:09 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 20 Aug 2023 14:29:24 +0000 (16:29 +0200)
commit241af60a8f3df56c18fb13b0cb22df23297b2538
treeb7bd215f775a2594d7677cfc6a8f3b545a85fa75
parent7975dbb183a73844f4ea2f9475a44681fda6ed0c
com_help(): Improve formating of command/description list

The help output, which consists of the subcommand name and the
one-line description, is formatted incorrectly if the name of one
or more subcommands exceeds 16 characters. Pre-compute the maximal
length of the command names upfront to fix that.
subcommand