Browse Source

Add --lines to help output.

pull/136/head
Fredrik Ekre 10 months ago
parent
commit
0ec6fb7c1c
No known key found for this signature in database
GPG Key ID: DE82E6D5E364C0A2
  1. 4
      README.md
  2. 4
      src/main.jl

4
README.md

@ -173,6 +173,10 @@ OPTIONS
-i, --inplace -i, --inplace
Format files in place. 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> -o <file>, --output=<file>
File to write formatted output to. If no output is given, or if the file File to write formatted output to. If no output is given, or if the file
is `-`, output is written to stdout. is `-`, output is written to stdout.

4
src/main.jl

@ -139,6 +139,10 @@ function print_help()
-i, --inplace -i, --inplace
Format files in place. 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> -o <file>, --output=<file>
File to write formatted output to. If no output is given, or if the file File to write formatted output to. If no output is given, or if the file
is `-`, output is written to stdout. is `-`, output is written to stdout.

Loading…
Cancel
Save