All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 63fe5e30 authored by Mike Hibler's avatar Mike Hibler

Add -M option to set maximum sector range.

In cases where code does not compute it. This is only useful
for some assertion checking, so the option may not stick around.
parent d92dbc01
......@@ -599,7 +599,7 @@ main(int argc, char *argv[])
#ifdef NOTHREADS
nothreads = 1;
#endif
while ((ch = getopt(argc, argv, "vdhs:zp:oOnFD:W:Cr:Na:ck:eu:fI")) != -1)
while ((ch = getopt(argc, argv, "vdhs:zp:oOnFD:W:Cr:Na:ck:eu:fIM:")) != -1)
switch(ch) {
#ifdef FAKEFRISBEE
case 'F':
......@@ -727,7 +727,10 @@ main(int argc, char *argv[])
case 'I':
ignoreskips++;
break;
/* set maxsector for error checking */
case 'M':
outputmaxsec = strtoul(optarg, NULL, 0);
break;
case 'h':
case '?':
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment