File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5858# # 143 - received SIGTERM
5959# # ------------------
6060
61- version =' addbookmark.sh 3.0.0'
61+ readonly VERSION =' addbookmark.sh 3.0.0'
6262
6363set -efu
6464umask ' 0022'
@@ -230,7 +230,7 @@ parser_definition() {
230230 param bookmarkFile -f --file init:' bookmarkFile="${HOME}/bookmark.html"' var:FILE -- ' ブックマークファイルを指定する'
231231 param position -p --position init:=' bottom' pattern:' bottom | none | top' var:" 'bottom' | 'none' | 'top'" -- ' ブックマークアイテムを追加する位置を指定する'
232232 disp :usage -h --help -- ' このヘルプを表示して終了する'
233- disp version -v --version -- ' バージョン情報を表示して終了する'
233+ disp VERSION -v --version -- ' バージョン情報を表示して終了する'
234234
235235 msg -- ' ' ' Exit Status:' \
236236 ' 0 - successful termination' \
@@ -359,7 +359,7 @@ parse() {
359359 usage
360360 exit 0 ;;
361361 ' -v' |' --version' )
362- echo " ${version } "
362+ echo " ${VERSION } "
363363 exit 0 ;;
364364 --)
365365 shift
You can’t perform that action at this time.
0 commit comments