add command table for format
strip lines with ---