-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Michael Geng on 8/28/2007 12:33 PM:
> 
> In the present version of genparse new strings are always printed
> in new lines. For example (also from the ls commmand):
> 
> d / directory                 flag    "list directory entries instead of 
> contents,"
>                                       "  and do not dereference symbolic 
> links"

Why not make genparse a bit smarter, and let the user supply free-form
text as the option description.  Genparse should then wrap it to fit an
80-column screen before generating the resulting usage() in the .c file.
Then the above example would simply be:

d / directory   flag \
"list directory entries instead of contents, and do not dereference
symbolic links"

with the __GNU_GLOSSARY__(29) being the formatting hint of where the
auto-wrapping should occur in the output English text.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1OM/84KuGfSFAYARAt2kAKCwODGWB8MgUxtnltO0O9HFdUCThwCdGEGH
3IWLqYyRObHty4aDcxJX4oo=
=y+0l
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to