diff options
author | Adrian Kummerlaender | 2016-04-08 21:39:12 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2016-04-08 21:39:12 +0200 |
commit | b647d08bb19abe4d199166a05f9f14c65f5f0ed4 (patch) | |
tree | c48f3152212518146a87d40d9e78438d70204c31 | |
parent | ee09160000d99cd90e7c7137600c2f0e0087f991 (diff) | |
download | justify-b647d08bb19abe4d199166a05f9f14c65f5f0ed4.tar justify-b647d08bb19abe4d199166a05f9f14c65f5f0ed4.tar.gz justify-b647d08bb19abe4d199166a05f9f14c65f5f0ed4.tar.bz2 justify-b647d08bb19abe4d199166a05f9f14c65f5f0ed4.tar.lz justify-b647d08bb19abe4d199166a05f9f14c65f5f0ed4.tar.xz justify-b647d08bb19abe4d199166a05f9f14c65f5f0ed4.tar.zst justify-b647d08bb19abe4d199166a05f9f14c65f5f0ed4.zip |
Update README.md to reflect new dependencies and features
-rw-r--r-- | README.md | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -2,15 +2,23 @@ ...is a single purpose program for block justification of UTF-8 encoded monospace text. -Textual input is read from _STDIN_ and written to _STDOUT_ in its justified form. The default output width of 60 characters may be customized via the first application argument. +Textual input is read from _STDIN_ and written to _STDOUT_ in its justified form. The default output width of 60 characters may be customized via `--length`. Optionally an offset of leading spaces may be defined using `--offset`. -i.e. `echo "$the_paragraph_above" | justify 40` results in: +i.e. `echo "$the_paragraph_above" | justify --length 40 --offset 2` results in: - Textual input is read from _STDIN_ and - written to _STDOUT_ in its justified - form. The default output width of 60 - characters may be customized via the - first application argument. + Textual input is read from _STDIN_ and + written to _STDOUT_ in its justified + form. The default output width of 60 + characters may be customized via + `--length`. Optionally an offset of + leading spaces may be defined using + `--offset`. + +## Requirements + +* CMake +* C++ compiler with C++14 support +* Boost [Program Options](http://www.boost.org/doc/libs/1_60_0/doc/html/program_options.html) ## Build @@ -18,5 +26,3 @@ i.e. `echo "$the_paragraph_above" | justify 40` results in: cd build cmake .. make - -A current C++ compiler with support for C++14 is required. |