Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mbudde committed Nov 9, 2022
1 parent 6a90c96 commit 5d36d40
Showing 1 changed file with 32 additions and 42 deletions.
74 changes: 32 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,48 +55,38 @@ cargo install tabulate
## Options

```
tabulate
USAGE:
tabulate [OPTIONS]
OPTIONS:
--column-info
Print information about the columns
-c, --compress-cols <RATIO>
Control how much columns are compressed. Set to 0 to disable column
compression, i.e. columns are sized to fit the largest value [default:
1.0]
-d, --delimiter <DELIM>
Use characters of DELIM as column delimiters [default: " \t"]
-n, --estimate-count <N>
Estimate column sizes from the first N lines. The value 0 means all
lines [default: 1000]
-x, --exclude <LIST>
Select which columns should be excluded from the output. This option
takes precedence over --include
-h, --help
Prints help information
-i, --include <LIST>
Select which columns to include in the output
-s, --strict
Parse columns as strictly being delimited by a single delimiter
-t, --truncate <LIST>
Truncate data that does not fit in a column. Takes an optional list of
columns that should be truncated. If no LIST is given all columns are
truncated
-V, --version
Prints version information
LIST should be a comma-separated list of ranges. Each range should be of one of the
following forms:
Usage: tabulate [OPTIONS]
Options:
-t, --truncate [<LIST>...]
Truncate data that does not fit in a column. Takes an optional list of columns that should be
truncated. If no LIST is given all columns are truncated
-c, --compress-cols <RATIO>
Number between 0.0 and 1.0 that controls how much columns are compressed. Set to 0 to disable
column compression, i.e. columns are sized to fit the largest value [default: 1.0]
-n, --estimate-count <N>
Estimate column sizes from the first N lines. The value 0 means all lines [default: 1000]
-i, --include <LIST>...
Select which columns to include in the output
-x, --exclude <LIST>...
Select which columns should be excluded from the output. This option takes precedence over
--include
-d, --delimiter <DELIM>
Use characters of DELIM as column delimiters [default: " \t"]
-o, --output-delimiter <DELIM>
Specify the delimiter to use to separate columns in the output [default: " "]
-s, --strict
Parse columns as strictly being delimited by a single delimiter
--online
Print lines during column size estimation phase
--column-info
Print information about the columns
-h, --help
Print help information
-V, --version
Print version information
LIST should be a comma-separated list of ranges. Each range should be of one of the following forms:
N N'th column, starting at 1
N- from N'th column to end of line
Expand Down

0 comments on commit 5d36d40

Please sign in to comment.