Make -f option action="store_true" so that it does not consume the next argument.