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

Previous Next

Package: coreutils;

Reported by: william <william <at> parabolas.xyz>

Date: Mon, 20 Sep 2021 00:26:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: william <william <at> parabolas.xyz>
To: L A Walsh <coreutils <at> tlinx.org>
Cc: 50691 <at> debbugs.gnu.org
Subject: bug#50691: pwd: options with "--" (multiple dashes) return bad option
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
> > 
> > 
> > 




This bug report was last modified 3 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.