diff options
author | Brian Behlendorf <[email protected]> | 2016-08-30 18:56:36 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-08-31 14:32:46 -0700 |
commit | 9d69e9b268a1a0af3117871608fd3a87db1ce586 (patch) | |
tree | 67d43a30782de28e802b965291ce1800238abba4 /include/sys/zfs_context.h | |
parent | 3f10fe07d645166d7513448feedd8e3ef3111a12 (diff) |
Fix zhack argument processing
The argument processing is zhack makes the assumption that getopt()
will not permute argv. This isn't true for the GNU implementation of
getopt() unless the optstring is prefixed with a '+'. In which case
this is equivalent to setting the POSIXLY_CORRECT environment variable
In addition, update the usage() and optstrings to reflect the existing
supported options.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: liaoyuxiangqin <[email protected]>
Closes #5047
Diffstat (limited to 'include/sys/zfs_context.h')
0 files changed, 0 insertions, 0 deletions