diff --git a/README.md b/README.md index 6455af1..e6dc7a2 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,10 @@ OPTIONS -i, --inplace Format files in place. + --lines=: + Limit formatting to the line range to . Multiple + ranges can be formatted by specifying multiple --lines arguments. + -o , --output= File to write formatted output to. If no output is given, or if the file is `-`, output is written to stdout. diff --git a/src/main.jl b/src/main.jl index 7a4c717..da889fc 100644 --- a/src/main.jl +++ b/src/main.jl @@ -139,6 +139,10 @@ function print_help() -i, --inplace Format files in place. + --lines=: + Limit formatting to the line range to . Multiple + ranges can be formatted by specifying multiple --lines arguments. + -o , --output= File to write formatted output to. If no output is given, or if the file is `-`, output is written to stdout.