aboutsummaryrefslogtreecommitdiff
path: root/src/options.cc
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-08-10 10:32:33 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-08-10 10:32:33 +0300
commit22cb2f79ddb89a368dd823e815fa1b0587ff1b6a (patch)
tree1d1b48c4ca2e956f4c4b91e12c81a89ef6d69f6e /src/options.cc
parented1b02efd5f7691d72cf9b657d939e3adc31034c (diff)
Squashed 'gitstatus/' changes from 4b47ca047..abb4f6a52
abb4f6a52 fix typos in docs and comments 958ae4e6d docs: explicitly mention that core.fsmonitor was disable in git benchmarks (#370) git-subtree-dir: gitstatus git-subtree-split: abb4f6a5225d12f51ffd8196060804b0c770482e
Diffstat (limited to 'src/options.cc')
-rw-r--r--src/options.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options.cc b/src/options.cc
index 46f3845c..b7abe5db 100644
--- a/src/options.cc
+++ b/src/options.cc
@@ -61,7 +61,7 @@ size_t ParseSizeT(const char* s) {
void PrintUsage() {
std::cout << "Usage: gitstatusd [OPTION]...\n"
- << "Print machine-readable status of the git repos for directores in stdin.\n"
+ << "Print machine-readable status of the git repos for directories in stdin.\n"
<< "\n"
<< "OPTIONS\n"
<< " -l, --lock-fd=NUM [default=-1]\n"
@@ -78,7 +78,7 @@ void PrintUsage() {
<< " maximum performance.\n"
<< "\n"
<< " -v, --log-level=STR [default=INFO]\n"
- << " Don't write entires to log whose log level is below this. Log levels in\n"
+ << " Don't write entries to log whose log level is below this. Log levels in\n"
<< " increasing order: DEBUG, INFO, WARN, ERROR, FATAL.\n"
<< "\n"
<< " -r, --repo-ttl-seconds=NUM [default=3600]\n"
@@ -141,7 +141,7 @@ void PrintUsage() {
<< "\n"
<< " 1. Request ID. Any string. Can be empty.\n"
<< " 2. Path to the directory for which git stats are being requested.\n"
- << " If the first character is ':', it is removed and the remaning path\n"
+ << " If the first character is ':', it is removed and the remaining path\n"
<< " is treated as GIT_DIR.\n"
<< " 3. (Optional) '1' to disable computation of anything that requires reading\n"
<< " git index; '0' for the default behavior of computing everything.\n"