use longs instead of ints, fix a mistake in the --help