Don't call abort on usage errors; print out the usage message instead
PR: 196793 MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
2b7d8bc28a
commit
96da0c1c63
@ -565,8 +565,9 @@ int main(int argc, char *argv[])
|
|||||||
printf("Done with args\n");
|
printf("Done with args\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: /* something wrong */
|
default:
|
||||||
abort();
|
show_usage();
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user