summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hitz <christian@klarinett.li>2015-11-28 10:24:43 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-12-14 15:38:00 +0000
commit75c04a202412440adea7216f65740f9080009b02 (patch)
tree163e6c84c082525f89e0359799a93efd3f730a06
parent06576fcf46c2972c2b7e0db448f42b193ddf094d (diff)
lupdate: mention location type guessing in help output
When no -locations argument is provided, lupdate honors the location style in the existing TS file and only defaults to absolute for new files. Change-Id: I34507ca694d603d68b2c35adeeac26548479257a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Christian Hitz <christian@klarinett.li>
-rw-r--r--src/linguist/lupdate/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linguist/lupdate/main.cpp b/src/linguist/lupdate/main.cpp
index 8d46ae00f..e3c283a70 100644
--- a/src/linguist/lupdate/main.cpp
+++ b/src/linguist/lupdate/main.cpp
@@ -199,7 +199,8 @@ static void printUsage()
" May be specified multiple times.\n"
" -locations {absolute|relative|none}\n"
" Specify/override how source code references are saved in TS files.\n"
- " Default is absolute.\n"
+ " Guessed from existing TS files if not specified.\n"
+ " Default is absolute for new files.\n"
" -no-ui-lines\n"
" Do not record line numbers in references to UI files.\n"
" -disable-heuristic {sametext|similartext|number}\n"