Skip to content

Commit 7cd5f30

Browse files
committed
Use .md in glob example
1 parent f97e569 commit 7cd5f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ For example, |with git ls-files pipe xargs|_:
8181

8282
.. code-block:: sh
8383
84-
git ls-files -z -- '*.py' | xargs -0 blacken-docs
84+
git ls-files -z -- '*.md' | xargs -0 blacken-docs
8585
8686
…or PowerShell’s |ForEach-Object|__:
8787

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

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

0 commit comments

Comments
 (0)