diff --git a/README.md b/README.md index 4001d172..c9e5e63d 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Gollum comes with the following command line options: | --page-file-dir | [PATH] | Specify the subdirectory for all pages. If set, Gollum will only serve pages from this directory and its subdirectories. Default: repository root. | | --css | none | Tell Gollum to inject custom CSS into each page. Uses `custom.css` from repository root.3,5 | | --js | none | Tell Gollum to inject custom JS into each page. Uses `custom.js` from repository root.3,5 | -| --emoji | none | Parse and interpret emoji tags (e.g. `:heart:`) unless when the leading colon is backslashed (e.g. `\:heart:`). | +| --emoji | none | Parse and interpret emoji tags (e.g. `:heart:`) except when the leading colon is backslashed (e.g. `\:heart:`). | | --no-edit | none | Disable the feature of editing pages. | | --live-preview | none | Enable the live preview feature in page editor. | | --no-live-preview | none | Disable the live preview feature in page editor. | diff --git a/bin/gollum b/bin/gollum index 817ea602..3363b77a 100755 --- a/bin/gollum +++ b/bin/gollum @@ -99,7 +99,7 @@ MSG opts.on("--js", "Inject custom JavaScript into each page. The '/custom.js' file is used (must be committed).") do wiki_options[:js] = true end - opts.on("--emoji", "Parse and interpret emoji tags (e.g. :heart:) unless when the leading colon is backslashed (e.g. \\:heart:).") do + opts.on("--emoji", "Parse and interpret emoji tags (e.g. :heart:) except when the leading colon is backslashed (e.g. \\:heart:).") do wiki_options[:emoji] = true end opts.on("--no-edit", "Disable the feature of editing pages.") do