respect flags (version) if not piped. fixes #39