mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 21:00:16 -05:00
Removes the -H option.
This commit is contained in:
parent
4ed9e0803f
commit
3d30a87952
7 changed files with 28 additions and 43 deletions
10
snapraid.c
10
snapraid.c
|
|
@ -80,7 +80,6 @@ struct option long_options[] = {
|
|||
{ "conf", 1, 0, 'c' },
|
||||
{ "filter", 1, 0, 'f' },
|
||||
{ "filter-disk", 1, 0, 'd' },
|
||||
{ "filter-nohidden", 0, 0, 'H' },
|
||||
{ "start", 1, 0, 's' },
|
||||
{ "count", 1, 0, 't' },
|
||||
{ "force-zero", 0, 0, 'Z' },
|
||||
|
|
@ -102,7 +101,7 @@ struct option long_options[] = {
|
|||
};
|
||||
#endif
|
||||
|
||||
#define OPTIONS "c:f:d:Hs:t:ZENaTvhVG"
|
||||
#define OPTIONS "c:f:d:s:t:ZENaTvhVG"
|
||||
|
||||
volatile int global_interrupt = 0;
|
||||
|
||||
|
|
@ -129,7 +128,6 @@ int main(int argc, char* argv[])
|
|||
int gui;
|
||||
int force_zero;
|
||||
int force_empty;
|
||||
int filter_hidden;
|
||||
int find_by_name;
|
||||
int audit_only;
|
||||
int test_expect_unrecoverable;
|
||||
|
|
@ -155,7 +153,6 @@ int main(int argc, char* argv[])
|
|||
gui = 0;
|
||||
force_zero = 0;
|
||||
force_empty = 0;
|
||||
filter_hidden = 0;
|
||||
find_by_name = 0;
|
||||
audit_only = 0;
|
||||
test_expect_unrecoverable = 0;
|
||||
|
|
@ -195,9 +192,6 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
tommy_list_insert_tail(&filterlist, &filter->node, filter);
|
||||
} break;
|
||||
case 'H' :
|
||||
filter_hidden = 1;
|
||||
break;
|
||||
case 's' :
|
||||
blockstart = strtoul(optarg, &e, 0);
|
||||
if (!e || *e) {
|
||||
|
|
@ -324,7 +318,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
state_init(&state);
|
||||
|
||||
state_config(&state, conf, verbose, gui, force_zero, force_empty, filter_hidden, find_by_name, test_expect_unrecoverable, test_expect_recoverable, test_skip_device);
|
||||
state_config(&state, conf, verbose, gui, force_zero, force_empty, find_by_name, test_expect_unrecoverable, test_expect_recoverable, test_skip_device);
|
||||
|
||||
if (operation == OPERATION_DIFF) {
|
||||
state_read(&state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue