Skip to content

Commit 8b21a17

Browse files
committed
fixing substitution
1 parent 3b8f995 commit 8b21a17

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

notes

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -422,17 +422,17 @@ cmd_find () {
422422
}
423423

424424
cmd_insert () {
425-
myoptions="$@"
426-
myoptions="${myoptions// /_}"
425+
theoptions="$@"
426+
myoptions="${theoptions// /_}"
427427
case $PROGRAM in
428428
"notes") echo my options = ${myoptions} ; note_add $myoptions;;
429429
"notebook") notebook_add $myoptions;;
430430
esac
431431
}
432432

433433
cmd_import () {
434-
myoptions="$@"
435-
myoptions="${myoptions// /_}"
434+
theoptions="$@"
435+
myoptions="${theoptions// /_}"
436436
case $PROGRAM in
437437
"notes") echo my options = ${myoptions} ; note_import $myoptions;;
438438
"notebook") cmd_usage;;
@@ -460,8 +460,8 @@ cmd_edit () {
460460
}
461461

462462
cmd_copy_move () {
463-
myoptions="$@"
464-
myoptions="${myoptions// /_}"
463+
theoptions="$@"
464+
myoptions="${theoptions// /_}"
465465
case $PROGRAM in
466466
"notes") echo my options = ${myoptions} ; note_rename $myoptions;;
467467
"notebook") notebook_rename $myoptions;;

0 commit comments

Comments
 (0)