summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2019-06-06 16:05:05 +0200
committerKai Koehne <kai.koehne@qt.io>2019-06-06 16:07:57 +0200
commit0d2a9408ed2a5c664330c5742c9afb610a6c7348 (patch)
treef83870fdd764350d8610be4464c39aa1bb2de558
parentc7f96f5301c2e60d1c5ef1e945e70e921afc71ce (diff)
downloadqttools-0d2a9408ed2a5c664330c5742c9afb610a6c7348.tar.gz
lupdate: Improve documentation of -recursive, -no-recursive
'the following' directories can be read in the sense that the arguments are positional, and that e.g. lupdate -no-recursive x -recursive y will scan x without subdirectories, but y with subdirectories. However this is not the case; -recursive and -non-recursive are binary options that affect all directories scanned in a run. Task-number: QTBUG-76243 Change-Id: I417a84708b7228890d0644aed582dbb9073de1a8 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--src/linguist/lupdate/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linguist/lupdate/main.cpp b/src/linguist/lupdate/main.cpp
index c6b026dc7..16fe85f2a 100644
--- a/src/linguist/lupdate/main.cpp
+++ b/src/linguist/lupdate/main.cpp
@@ -239,9 +239,9 @@ static void printUsage()
" -no-sort\n"
" Do not sort contexts in TS files.\n"
" -no-recursive\n"
- " Do not recursively scan the following directories.\n"
+ " Do not recursively scan directories.\n"
" -recursive\n"
- " Recursively scan the following directories (default).\n"
+ " Recursively scan directories (default).\n"
" -I <includepath> or -I<includepath>\n"
" Additional location to look for include files.\n"
" May be specified multiple times.\n"