diff --git a/gh-md-toc b/gh-md-toc index d74ecab..4cf3bf3 100755 --- a/gh-md-toc +++ b/gh-md-toc @@ -349,7 +349,7 @@ gh_toc_app() { if [ "$1" = '--indent' ]; then indent="$2" - shift + shift 2 fi if [ "$1" = "-" ]; then