mirror_zfs/cmd/zhack
Brian Behlendorf 9d69e9b268 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 <behlendorf1@llnl.gov>
Signed-off-by: liaoyuxiangqin <guo.yong33@zte.com.cn>
Closes #5047
2016-08-31 14:32:46 -07:00
..
.gitignore Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
Makefile.am Cleanup linking 2016-03-18 13:31:11 -07:00
zhack.c Fix zhack argument processing 2016-08-31 14:32:46 -07:00