From 82ed011a0b9f812ab54e121d72121f5e85e46fc2 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Tue, 8 Jul 2025 19:27:14 +0200 Subject: README: reformatting. --- README.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index a295622..0741634 100644 --- a/README.md +++ b/README.md @@ -11,37 +11,37 @@ Call: dir\_monitor OPTIONS path\_to\_open | long | short | option | description | | ---- | ----- | ------ | ----------- | -| --help | -h | | Show this message and exit | -| --format-string | | format | define columns to print, details below | -| --long-timestamp | -t | | Print timestamp in long form yyyymmdd HH:MM:SS ZONE | -| --print-header | -H | | Print a header above the columns | -| --reverse-sort | | | | Sort reversed | -| --show-hidden-entries | -v | | Show hidden entries in the directory | -| --sort-by | | variant | Sort either by variant | -| --time-field | | a\|c\|m | Sort by (a)ccess, (c)hange or (m)odification time. Default: m | +| `--help` | `-h` | | Show this message and exit | +| `--format-string` | | format | define columns to print, details below | +| `--long-timestamp` | `-t` | | Print timestamp in long form yyyymmdd HH:MM:SS ZONE | +| `--print-header` | `-H` | | Print a header above the columns | +| `--reverse-sort` | | | | Sort reversed | +| `--show-hidden-entries` | `-v` | | Show hidden entries in the directory | +| `--sort-by` | | variant | Sort either by variant | +| `--time-field` | | `a`\|`c`\|`m` | Sort by (a)ccess, (c)hange or (m)odification time. Default: m | ---sort-by variants: name | size | time +`--sort-by` variants: `name` | `size` | `time` ---format-string: Aside from the characters in the table only space is +`--format-string` Aside from the characters in the table only space is accepted. Currently at max 80 bytes of the format string are processed. -| | | -| - | - | -| A | access time | -| C | change time | -| G | group name | -| g | group id | -| M | modification time | -| n | file name | -| p | permissions | -| s | size | -| T | type | -| t | time defined by --time-field | -| U | user name | -| u | user id | +| char | description | +| ---- | ----------- | +| `A` | access time | +| `C` | change time | +| `G` | group name | +| `g` | group id | +| `M` | modification time | +| `n` | file name | +| `p` | permissions | +| `s` | size | +| `T` | type | +| `t` | time defined by `--time-field` | +| `U` | user name | +| `u` | user id | TODO -- cgit v1.2.3-70-g09d2