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
e3c3ea1cee
commit
5962fd53ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277272
@ -565,8 +565,9 @@ int main(int argc, char *argv[])
|
||||
printf("Done with args\n");
|
||||
break;
|
||||
|
||||
default: /* something wrong */
|
||||
abort();
|
||||
default:
|
||||
show_usage();
|
||||
return 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user