diff --git a/notes.sh b/notes.sh index 7b739c6..f566290 100755 --- a/notes.sh +++ b/notes.sh @@ -51,7 +51,7 @@ function createNote() { } function main() { - case "$1" in + case "$2" in # DIFF: Show git diff of staged changes diff|d) cd "$notes_dir"