diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2025-07-06 02:49:46 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2025-07-06 02:49:46 +0200 |
| commit | 3dc5a650b3d2d58606d7080f6e4fdacb2c0832a0 (patch) | |
| tree | 1fddee3229cc5fe97b70732eb9c7379b4be7d912 /src/options.c | |
| parent | 1154e2aacf1539936ca2d45a14f923b63d288d36 (diff) | |
| download | dir_monitor-3dc5a650b3d2d58606d7080f6e4fdacb2c0832a0.tar.gz dir_monitor-3dc5a650b3d2d58606d7080f6e4fdacb2c0832a0.tar.bz2 | |
output: format string: user and group name
Depending on the OS setup the function calls may be extremely time
consuming if it's not local and not in the kernel cache.
static fields for minimal local caching to circumvent function calls.
Diffstat (limited to 'src/options.c')
| -rw-r--r-- | src/options.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c index fc53396..16d6cf5 100644 --- a/src/options.c +++ b/src/options.c @@ -71,13 +71,15 @@ void usage(char *executable) { fprintf(stderr, "\n--format-string: Characters unlike the following are ignored\n"); fprintf(stderr, " A - access time\n"); fprintf(stderr, " C - change time\n"); + fprintf(stderr, " G - group name\n"); fprintf(stderr, " g - group id\n"); fprintf(stderr, " M - modification time\n"); - fprintf(stderr, " n - name\n"); + fprintf(stderr, " n - file name\n"); fprintf(stderr, " p - permissions\n"); fprintf(stderr, " s - size\n"); fprintf(stderr, " T - type\n"); fprintf(stderr, " t - time defined by --time-field (default: modification time)\n"); + fprintf(stderr, " U - user name\n"); fprintf(stderr, " u - user id\n"); } |
