On Tue, Dec 15, 2015 at 08:40:04PM +0100, Benno Schulenberg wrote: > On Mon, Dec 14, 2015, at 22:54, Sami Kerola wrote: > > The pull adds new function, print_long_opts(), to c.h and > > it does what one might expect a function of such name do. > > Hm. You want to add --print-long-opts to almost all commands? It seems so, and I'm really not sure with this solution. > And burden all --help outputs with listing it? But... is this > option useful for users? Or really only for bash-completion? It means that always when I press <tab> on command line then the util is executed with --print-long-opts. It seems expensive. >From my point of view it would be enough to have tools/checkcompletion script to extract "struct option" from our utils and check if the options are also in bash-completion/<name> and in the util man page. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html