Browse Source

Add --lines to help output. (#136)

pull/138/head
Fredrik Ekre 10 months ago committed by GitHub
parent
commit
13fb6c18a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      README.md
  2. 4
      src/main.jl

4
README.md

@ -173,6 +173,10 @@ OPTIONS @@ -173,6 +173,10 @@ OPTIONS
-i, --inplace
Format files in place.
--lines=<start line>:<end line>
Limit formatting to the line range <start line> to <end line>. Multiple
ranges can be formatted by specifying multiple --lines arguments.
-o <file>, --output=<file>
File to write formatted output to. If no output is given, or if the file
is `-`, output is written to stdout.

4
src/main.jl

@ -139,6 +139,10 @@ function print_help() @@ -139,6 +139,10 @@ function print_help()
-i, --inplace
Format files in place.
--lines=<start line>:<end line>
Limit formatting to the line range <start line> to <end line>. Multiple
ranges can be formatted by specifying multiple --lines arguments.
-o <file>, --output=<file>
File to write formatted output to. If no output is given, or if the file
is `-`, output is written to stdout.

Loading…
Cancel
Save