cornelisnetworks / opa-ff

Other
11 stars 20 forks source link

Can't get usage with 'opagetvf_env -h' or 'opagetvf_env --help' #5

Closed ghost closed 8 years ago

ghost commented 8 years ago

hi,

There is a manpage file for opagetvf_env, but can't get usage with 'opagetvf_env -h' or 'opagetvf_env --help'.

[root@rdma-qe-15 ~]$ opagetvf_env [root@rdma-qe-15 ~]$ echo $? 0 [root@rdma-qe-15 ~]$ [root@rdma-qe-15 ~]$ /usr/sbin/opagetvf_env --help [root@rdma-qe-15 ~]$ /usr/sbin/opagetvf_env -h [root@rdma-qe-15 ~]$ echo $? 0 [root@rdma-qe-15 ~]$ man /usr/share/man/man1/opagetvf_env.1.gz | wc 21 59 645

ToddRimmer commented 8 years ago

This is the expected behavior, this script is designed to be “dot included” in other scripts. As such it does not parse $* so that it will not impact the script it is installed in.

Todd Rimmer DCSG Architecture Voice: 610-312-2152 Fax: 610-312-2233 Todd.Rimmer@intel.commailto:Todd.Rimmer@intel.com

From: HonggangLI [mailto:notifications@github.com] Sent: Monday, August 29, 2016 4:43 AM To: 01org/opa-ff Subject: [01org/opa-ff] Can't get usage with 'opagetvf_env -h' or 'opagetvf_env --help' (#5)

hi,

There is a manpage file for opagetvf_env, but can't get usage with 'opagetvf_env -h' or 'opagetvf_env --help'.

[root@rdma-qe-15 ~]$ opagetvf_env [root@rdma-qe-15 ~]$ echo $? 0 [root@rdma-qe-15 ~]$ [root@rdma-qe-15 ~]$ /usr/sbin/opagetvf_env --help [root@rdma-qe-15 ~]$ /usr/sbin/opagetvf_env -h [root@rdma-qe-15 ~]$ echo $? 0 [root@rdma-qe-15 ~]$ man /usr/share/man/man1/opagetvf_env.1.gz | wc 21 59 645

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/01org/opa-ff/issues/5, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARWZa1S-pTITdVcCM1dkx9L21n_jRZK0ks5qkpuGgaJpZM4JvQ81.

ghost commented 8 years ago

Thanks for the explanation.