fix a bug of short and long mapping for --no-tags