Skip to content

Commit

Permalink
Use .md in glob example
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Aug 16, 2023
1 parent f97e569 commit 7cd5f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -81,7 +81,7 @@ For example, |with git ls-files pipe xargs|_:

.. code-block:: sh
git ls-files -z -- '*.py' | xargs -0 blacken-docs
git ls-files -z -- '*.md' | xargs -0 blacken-docs
…or PowerShell’s |ForEach-Object|__:

Expand All @@ -90,7 +90,7 @@ __ https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core

.. code-block:: powershell
git ls-files -- '*.py' | %{blacken-docs $_}
git ls-files -- '*.md' | %{blacken-docs $_}
blacken-docs currently passes the following options through to Black:

Expand Down

0 comments on commit 7cd5f30

Please sign in to comment.