Subject: bug#50691: pwd: options with "--" (multiple dashes) return bad option

From: william <[email-masked]>
Date: Sun, 19 Sep 2021 18:22:20 -0700

That does the trick. Do you know why command is necessary for it to recognize the option?

On 21/09/19 06:05PM, L A Walsh wrote:
> Try 'command pwd --version'
> 
> On 2021/09/19 16:09, william wrote:
> > coreutils version 8.32
> > 
> > The commands
> > 
> >     pwd --version
> > 
> > and
> > 
> >     pwd --help
> > 
> > return
> > 
> >     pwd: bad option: -v
> >     pwd: bad option: -h
> > 
> > 
> >