add longOptions to resolve cast error