X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/89a856d742d31054bc31a6ff7ffc6ad2d24377d5..267bc5dde9f4e5e4b6dacdf79cf1688ffe9b7715:/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",