diff options
author | Ryan Geary <rtgnj42@gmail.com> | 2020-06-02 15:09:00 -0400 |
---|---|---|
committer | Ryan Geary <rtgnj42@gmail.com> | 2020-06-02 15:09:00 -0400 |
commit | 5d65fb99ce8768608e78c81a7fe4c87c15f56192 (patch) | |
tree | 3ba5b7c432fe85fd3d13ab36a9bdd49d27496d09 | |
parent | 588ff3ef1b6aca0d9cde993062ec9e6526bc0081 (diff) |
Add updated documentationv1.1.1
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | readme.md | 18 |
3 files changed, 14 insertions, 8 deletions
@@ -32,7 +32,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "choose" -version = "1.1.0" +version = "1.1.1" dependencies = [ "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1,6 +1,6 @@ [package] name = "choose" -version = "1.1.0" +version = "1.1.1" authors = ["Ryan Geary <rtgnj42@gmail.com>"] edition = "2018" @@ -39,20 +39,26 @@ necessary. ``` $ choose --help -choose 0.1.4 +choose 1.1.1 `choose` sections from each line of files USAGE: choose [FLAGS] [OPTIONS] <choice>... FLAGS: - -x, --exclusive Use exclusive ranges, similar to array indexing in many programming languages - -h, --help Prints help information - -V, --version Prints version information + -c, --character-wise Choose fields by character number + -d, --debug Activate debug mode + -x, --exclusive Use exclusive ranges, similar to array indexing in many programming languages + -h, --help Prints help information + -n, --non-greedy Use non-greedy field separators + -V, --version Prints version information OPTIONS: - -f, --field-separator <field-separator> Specify field separator other than whitespace, using Rust `regex` syntax - -i, --input <input> Input file + -f, --field-separator <field-separator> + Specify field separator other than whitespace, using Rust `regex` syntax + + -i, --input <input> Input file + -o, --output-field-separator <output-field-separator> Specify output field separator ARGS: <choice>... Fields to print. Either x, x:, :y, or x:y, where x and y are integers, colons indicate a range, |