readme update

This commit is contained in:
John Sennesael 2022-03-19 16:46:41 -05:00
parent 5eb93bce96
commit 640aeafff0
1 changed files with 27 additions and 8 deletions

View File

@ -36,15 +36,34 @@ The standard cmake routine:
## Usage
Usage: ./justify [OPTION]...
Usage: ./justify [OPTION]...
-i,--input [FILE] Input file to process, defaults to stdin.
-o,--output [FILE] Output file, defaults to stdout.
-c,--cols [NUM] Text width to format text into.
(defaults to terminal width)
-a,--align [center|fill|left|right]
Justify method (default=fill).
-h,--help Show this help text.
Input / output options:
-i,--input [FILE] Input file to process, defaults to stdin.
-o,--output [FILE] Output file, defaults to stdout.
Column options:
-c,--cols [COLS] Number of columns for multi-column
output.
-s,--hspacing [COLS] Column horizontal spacing.
(default: 2)
-v,--vspacing [ROWS] Column vertical spacing.
(default: 1)
-m,--colheight [ROWS] Column max. height.
(default: 0, =infinite)
Alignment options:
-w,--width [NUM] Text width to format text into.
(defaults to terminal width)
-a,--align [center|fill|left|right]
Justify method (default=fill).
Misc options:
-h,--help Show this help text.
## Screenshots