typo
changed loop type on args.t
handled case of -t not precised