Fixed -t flag to accept integers