In help, print default on same line if there is space
Regarding posix_getopts: Currently, default values of string and integer arguments are always printed on the next line, like this:
-w: number of words (int arg)
(default: 4)
This example shows well how ridiculous this is. So, if there is enough space on the line (assumed to be 80 columns long), print the default on the same line.
Edited by Juergen Nickelsen