diff --git a/ChangeLog b/ChangeLog
index 4a4ee31bc3b30f108fb4f2aa6409a38974441554..dbfe067c4d18ce0d9caa5cc93b6277253dc183c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,8 @@ CVS code -
 - doc/nanorc.sample:
 	- Tweak the "c-file" regex for characters to accept '"' again,
 	  as it's apparently valid. (DLR)
+	- Simplify the "shellscript" regex for command line options.
+	  (DLR)
 	- Replace instances of \" with ", since quotes inside string
 	  parameters don't need to be escaped with backslashes. (DLR)
 
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index cc8b65a13bf5ff6fefa28769bc65f83a44ff8ff8..18628e226f896a9ea2b820dcfd854931e4f772a3 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -330,7 +330,7 @@
 # icolor brightgreen "^[_A-Z0-9]+\(\)"
 # color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
 # color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
-# color green "-(L|d|e|f|g|r|u|w|x)\>"
+# color green "-[Ldefgruwx]\>"
 # color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
 # color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
 # icolor brightred "\$\{?[_A-Z0-9]+\}?"