Skip to content

Commit 06ac6fd

Browse files
authored
Merge pull request #45 from phyrog/master
Replace hard coded $app_name
2 parents 066a3e3 + 90e3a94 commit 06ac6fd

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
@@ -187,7 +187,7 @@ gh_toc_get_filename() {
187187
# Options hendlers
188188
#
189189
gh_toc_app() {
190-
local app_name="gh-md-toc"
190+
local app_name=$(basename $0)
191191
local need_replace="no"
192192

193193
if [ "$1" = '--help' ] || [ $# -eq 0 ] ; then

0 commit comments

Comments
 (0)