Fixed guard warning for using cli option