Fix shell ReferenceDoc class

Command regex now needs to allow '-'