aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-07-08 19:27:14 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-07-08 19:27:14 +0200
commit82ed011a0b9f812ab54e121d72121f5e85e46fc2 (patch)
tree3e46bf54e6b407b1ea468b4c14af7d3104018bf3
parent50b487f19200555c983f043dd2627effcfd2c15c (diff)
downloaddir_monitor-82ed011a0b9f812ab54e121d72121f5e85e46fc2.tar.gz
dir_monitor-82ed011a0b9f812ab54e121d72121f5e85e46fc2.tar.bz2
README: reformatting.
-rw-r--r--README.md48
1 files 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