Skip to content

Commit

Permalink
Merge pull request #93 from wp-cli/file-comment
Browse files Browse the repository at this point in the history
Update file-comment argument docs
  • Loading branch information
danielbachhuber committed Oct 27, 2018
2 parents 659b3b2 + e400e2d commit 309556c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ wp i18n
Create a POT file for a WordPress project.

~~~
wp i18n make-pot <source> [<destination>] [--slug=<slug>] [--domain=<domain>] [--ignore-domain] [--merge[=<paths>]] [--subtract=<paths>] [--include=<paths>] [--exclude=<paths>] [--headers=<headers>] [--skip-js] [--file-comment] [--package-name=<name>]
wp i18n make-pot <source> [<destination>] [--slug=<slug>] [--domain=<domain>] [--ignore-domain] [--merge[=<paths>]] [--subtract=<paths>] [--include=<paths>] [--exclude=<paths>] [--headers=<headers>] [--skip-js] [--file-comment=<file-comment>] [--package-name=<name>]
~~~

Scans PHP and JavaScript files for translatable strings, as well as theme stylesheets and plugin files
Expand Down Expand Up @@ -86,7 +86,7 @@ if the source directory is detected as either a plugin or theme.
[--skip-js]
Skips JavaScript string extraction. Useful when this is done in another build step, e.g. through Babel.

[--file-comment]
[--file-comment=<file-comment>]
String that should be added as a comment to the top of the resulting POT file.
By default, a copyright comment is added for WordPress plugins and themes in the following manner:

Expand Down
2 changes: 1 addition & 1 deletion src/MakePotCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class MakePotCommand extends WP_CLI_Command {
* [--skip-js]
* : Skips JavaScript string extraction. Useful when this is done in another build step, e.g. through Babel.
*
* [--file-comment]
* [--file-comment=<file-comment>]
* : String that should be added as a comment to the top of the resulting POT file.
* By default, a copyright comment is added for WordPress plugins and themes in the following manner:
*
Expand Down

0 comments on commit 309556c

Please sign in to comment.