On 09/02/2012 09:48 AM, Nguyễn Thái Ngọc Duy wrote: > This is just a proof of concept. I'd like to know this approach may be > accepted. > > It helps avoid manual aligning of help text, which is boring > (e.g. chmod's --no-preserve-root does it wrong) and impossible to do > right for shared options such as --verbose and --help. > > It also helps avoid misalignment in translations because translators may > not notice that the number of spaces in such a translations has a special > meaning. > > The convenient function may end up in gnulib, I don't know. > > Signed-off-by: Nguyễn Thái Ngọc Duy <pclo...@gmail.com>
Thanks for doing that. I really like this, but wouldn't it invalidate all the existing translations? It seems there would be a lot of work in transitioning coreutils usage() functions to the scheme, but even more work munging existing translations? cheers, Pádraig.