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:
parent
b164717a25
commit
29d40ca359
@ -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
|
||||
|
@ -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' }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user