X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/89a856d742d31054bc31a6ff7ffc6ad2d24377d5..14c76e89716b5b53c97ece80bb935ea956b7dd89:/src/black_primer/cli.py?ds=inline diff --git a/src/black_primer/cli.py b/src/black_primer/cli.py index b2d4159..00b54d6 100644 --- a/src/black_primer/cli.py +++ b/src/black_primer/cli.py @@ -39,6 +39,7 @@ async def async_main( debug: bool, keep: bool, long_checkouts: bool, + no_diff: bool, rebase: bool, workdir: str, workers: int, @@ -54,7 +55,13 @@ async def async_main( try: ret_val = await lib.process_queue( - config, work_path, workers, keep, long_checkouts, rebase + config, + work_path, + workers, + keep, + long_checkouts, + rebase, + no_diff, ) return int(ret_val) finally: @@ -95,6 +102,12 @@ async def async_main( show_default=True, help="Pull big projects to test", ) +@click.option( + "--no-diff", + is_flag=True, + show_default=True, + help="Disable showing source file changes in black output", +) @click.option( "-R", "--rebase",