* added autocomplete to PatternCommand