]> git.madduck.net Git - etc/vim.git/blobdiff - README.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add `black -c "code"` (#761)
[etc/vim.git] / README.md
index add92855512bb8751dbf12e16c45f4cb519d7353..65eff8819655f9b10c6b2df82bacab3a3b517054 100644 (file)
--- a/README.md
+++ b/README.md
@@ -71,6 +71,7 @@ black {source_file_or_directory}
 black [OPTIONS] [SRC]...
 
 Options:
+  -c, --code TEXT                 Format the code passed in as a string.
   -l, --line-length INTEGER       How many characters per line to allow.
                                   [default: 88]
   -t, --target-version [py27|py33|py34|py35|py36|py37|py38]
@@ -965,6 +966,8 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md).
 * fix feature detection for trailing commas in function definitions and
   call sites (#763)
 
+* add `black -c` as a way to format code passed from the command line (#761)
+
 * fix bug that led *Black* format some code with a line length target of 1
   (#762)