diff --git a/README.md b/README.md index 7c10fe6..2f21a2d 100644 --- a/README.md +++ b/README.md @@ -518,8 +518,9 @@ Command Line Options * Disable timestamps in log output. * --absolute-paths (-p) * Paths in log output will be absolute. -* --relative-paths (-P) - * Paths in log output will be relative to the working directory at Bees startup. +* --strip-paths (-P) + * Paths in log output will have the working directory at Bees startup + stripped. Bug Reports and Contributions diff --git a/src/bees.cc b/src/bees.cc index 4ce61cf..12d863b 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -47,7 +47,7 @@ do_cmd_help(char *argv[]) "\t-t, --timestamps\tShow timestamps in log output (default)\n" "\t-T, --no-timestamps\tOmit timestamps in log output\n" "\t-p, --absolute-paths\tShow absolute paths (default)\n" - "\t-P, --relative-paths\tShow paths relative to $CWD\n" + "\t-P, --strip-paths\tStrip $CWD from beginning of all paths in the log\n" "\n" "Optional environment variables:\n" "\tBEESHOME\tPath to hash table and configuration files\n" @@ -659,7 +659,7 @@ bees_main(int argc, char *argv[]) { "timestamps", no_argument, NULL, 't' }, { "no-timestamps", no_argument, NULL, 'T' }, { "absolute-paths", no_argument, NULL, 'p' }, - { "relative-paths", no_argument, NULL, 'P' }, + { "strip-paths", no_argument, NULL, 'P' }, { "help", no_argument, NULL, 'h' } };