Paul Eggert <[EMAIL PROTECTED]> wrote:
...
> Since "--files-from" is a prefix of "--files-from0", getopt would
> recognize "--files-from" as an alias for "--files-from0".  That's
> confusing.
>
> One workaround for this problem would be to add --files-from as a
> separate (undocumented) option that always reports an error.
>
> Another possibility is to require that --null also be specified if
> --files-from is specified.

I proposed that too, but admitted I didn't like it.

> Another thought: perhaps "--files0-from" would be a better name for
> the combined option?  After all, the NULs immediately follow the file
> names, not the place where the file names come from.

I think --files0-from is better, too.
Thanks!


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to