diff --git a/scrape.go b/scrape.go index c4044c7..ab9a6fa 100644 --- a/scrape.go +++ b/scrape.go @@ -62,11 +62,10 @@ func (s scrapeXXX) formatCommand() string { snippet = re.ReplaceAllString(snippet, "") } - // if !s.cmd.Hidden { - // re := regexp.MustCompile("(?m)\n\tHidden:.*$") - // snippet = re.ReplaceAllString(snippet, "") - - // } + if !s.cmd.Hidden { + re := regexp.MustCompile("(?m)\n\tHidden:.*$") + snippet = re.ReplaceAllString(snippet, "") + } return snippet }