diff options
Diffstat (limited to 'new-post.sh')
-rwxr-xr-x | new-post.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new-post.sh b/new-post.sh index 4ff0637..cb0a1bd 100755 --- a/new-post.sh +++ b/new-post.sh @@ -43,7 +43,7 @@ clean_title=$(echo "$title" |\ ) description="$2" -if $(echo "$description" | grep -q '[^.$!]$'); then +if $(echo "$description" | grep -q '[^.$!?]$'); then echo 'Description needs to be a complete sentence, with ending punctuation.' exit 1 fi |