bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'echo' does not ignore other arguments with --help or --version


From: Benno Schulenberg
Subject: 'echo' does not ignore other arguments with --help or --version
Date: Tue, 12 Aug 2008 22:38:16 +0200
User-agent: KMail/1.9.9

Hi,

Most of the coreutils tools will ignore all other arguments 
when --help or --version is given, but not 'echo':

$ /bin/echo --help ignore this
--help ignore this

$ /bin/echo --version ignore this
--version ignore this

But it says that it would:

$ /bin/echo --help | grep help
      --help     display this help and exit

$ /bin/echo --version | head -n1
echo (GNU coreutils) 6.12

Benno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]