1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

Cmdline: Rename "relative-paths" to "strip-paths"

The previous name didn't match what this option really does.

Affects: #41

Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
Kai Krakow 2018-01-19 20:59:11 +01:00 committed by Zygo Blaxell
parent b164717a25
commit 29d40ca359
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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' }
};