This is most certainly because you are using your shell's built-in
'echo':

[cerdea-aws]cerdea@icatu:~$ echo --version
--version
[cerdea-aws]cerdea@icatu:~$ env echo --version
echo (GNU coreutils) 8.23
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Brian Fox and Chet Ramey.
[cerdea-aws]cerdea@icatu:~$ 

Closing as Not-A-Bug.

** Changed in: coreutils (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1520258

Title:
  echo's man-page claims switches "--help" & "--version" work, but
  instead are just echoed

Status in coreutils package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 15.10, using coreutils version 8.23-4ubuntu2. Typing "echo
  --help" or "echo --version" into the terminal echoes "--help" and "--
  version", respectively.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1520258/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to