mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Merge pull request #344 from PartialVolume/update_help_and_man_pages_for_zeros_ones
Update help, man and options for the ones method
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.TH NWIPE "1" "June 2021" "nwipe version 0.31" "User Commands"
|
||||
.TH NWIPE "1" "October 2021" "nwipe version 0.32" "User Commands"
|
||||
.SH NAME
|
||||
nwipe \- securely erase disks
|
||||
.SH SYNOPSIS
|
||||
@@ -100,6 +100,8 @@ random / prng / stream \- PRNG Stream
|
||||
.IP
|
||||
zero / quick \- Overwrite with zeros
|
||||
.IP
|
||||
one \- Overwrite with ones
|
||||
.IP
|
||||
verify \- Verifies disk is zero filled
|
||||
.IP
|
||||
is5enh \- HMG IS5 enhanced
|
||||
|
||||
@@ -276,6 +276,12 @@ int nwipe_options_parse( int argc, char** argv )
|
||||
break;
|
||||
}
|
||||
|
||||
if( strcmp( optarg, "one" ) == 0 )
|
||||
{
|
||||
nwipe_options.method = &nwipe_one;
|
||||
break;
|
||||
}
|
||||
|
||||
if( strcmp( optarg, "verify" ) == 0 )
|
||||
{
|
||||
nwipe_options.method = &nwipe_verify;
|
||||
@@ -529,6 +535,7 @@ void display_help()
|
||||
puts( " ops2 - RCMP TSSIT OPS-II" );
|
||||
puts( " random / prng / stream - PRNG Stream" );
|
||||
puts( " zero / quick - Overwrite with zeros" );
|
||||
puts( " one - Overwrite with ones (0xFF)" );
|
||||
puts( " verify - Verifies disk is zero filled\n" );
|
||||
puts( " -l, --logfile=FILE Filename to log to. Default is STDOUT\n" );
|
||||
puts( " -p, --prng=METHOD PRNG option (mersenne|twister|isaac)\n" );
|
||||
|
||||
Reference in New Issue
Block a user