Skip to content

Commit 5e477fd

Browse files
committed
Fix indent argument parsing
1 parent a261661 commit 5e477fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-md-toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ gh_toc_app() {
349349

350350
if [ "$1" = '--indent' ]; then
351351
indent="$2"
352-
shift
352+
shift 2
353353
fi
354354

355355
if [ "$1" = "-" ]; then

0 commit comments

Comments
 (0)