Bug 1119012
Summary: | test --help not showing in terminal | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | cybernet <cybernet2u> |
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | pbrady |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-13 15:42:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
cybernet
2014-07-13 04:11:44 UTC
Stating documentation of coreutils: "If EXPRESSION is omitted, `test' returns false. If EXPRESSION is a single argument, `test' returns false if the argument is null and true otherwise. The argument can be any string, including strings like `-d', `-1', `--', `--help', and `--version' that most other programs would treat as options. To get help and version information, invoke the commands `[ --help' and `[ --version', without the usual closing brackets." It is defined by posix that test should not accept --help and --version arguments ( http://pubs.opengroup.org/onlinepubs/009696799/utilities/test.html ) . [ --help and [ --version works as expected. Even though I don't agree with the reassignment to coreutils - as the simple test is shell builtin , closing not a bug, as this behaviour is specified by posix. |