bitjson / s18n

Semantic localization for html.
MIT License
23 stars 10 forks source link

fix(cli): make help match default element list #13

Closed kaicarver closed 8 years ago

kaicarver commented 8 years ago

the cli usage doc did not reflect the current default list of elements localized:

it was:

$ s18n help extract
   ...
    -e, --elements [elems]    html elements to localize [default: 'title,p,h1,h2,h3,h4,h5,h6' | none: '.']

but the default in lib/extract.js is:

options.elements = arrayify(options.elements) || ['title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'small', 'a', 'button'];
coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f985dbec76e58289da8a9de35c83b4d25fd40a59 on kaicarver:master into a1fecfc8c52d752362f70357573b5c43df3d9f31 on bitjson:master.

bitjson commented 8 years ago

Looks great, thanks!