diff --git a/gh-md-toc b/gh-md-toc index d74ecab..b9d3db5 100755 --- a/gh-md-toc +++ b/gh-md-toc @@ -323,7 +323,7 @@ show_help() { echo " --indent Set indent size. Default: 3." echo " --insert Insert new TOC into original file. For local files only. Default: false." echo " See https://github.com/ekalinin/github-markdown-toc/issues/41 for details." - echo " --no-backup Remove backup file. Set --insert as well. Defaul: false." + echo " --no-backup Remove backup file. Set --insert as well. Default: false." echo " --hide-footer Do not write date & author of the last TOC update. Set --insert as well. Default: false." echo " --skip-header Hide entry of the topmost headlines. Default: false." echo " See https://github.com/ekalinin/github-markdown-toc/issues/125 for details." diff --git a/tests/tests.bats b/tests/tests.bats index c2c0dcf..5431db5 100755 --- a/tests/tests.bats +++ b/tests/tests.bats @@ -127,7 +127,7 @@ test_help() { assert_equal "${lines[6]}" "Options:" assert_equal "${lines[7]}" " --indent Set indent size. Default: 3." assert_equal "${lines[8]}" " --insert Insert new TOC into original file. For local files only. Default: false." - assert_equal "${lines[10]}" " --no-backup Remove backup file. Set --insert as well. Defaul: false." + assert_equal "${lines[10]}" " --no-backup Remove backup file. Set --insert as well. Default: false." assert_equal "${lines[11]}" " --hide-footer Do not write date & author of the last TOC update. Set --insert as well. Default: false." assert_equal "${lines[12]}" " --skip-header Hide entry of the topmost headlines. Default: false." assert_equal "${#lines[@]}" "14"