From 397c5c10f86eeef72f69de67388c84be9d6da9e7 Mon Sep 17 00:00:00 2001 From: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Date: Fri, 10 Jul 2015 11:07:36 +0200 Subject: [PATCH] Doc: opening files from the CLI to a particular column Change-Id: I1c4ded62dda05a988a394a2e49c7e344f678b000 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> --- doc/src/howto/creator-cli.qdoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/src/howto/creator-cli.qdoc b/doc/src/howto/creator-cli.qdoc index 194d29f0fe1..392621642fd 100644 --- a/doc/src/howto/creator-cli.qdoc +++ b/doc/src/howto/creator-cli.qdoc @@ -31,16 +31,16 @@ \title Using Command Line Options You can start \QC and specify some options from the command line. For - example, you can open a file to any line. + example, you can open a file to any line and column. To specify command line options, enter the following command in the \QC installation or build directory: - \c {qtcreator [option] [filename[:line_number]]} + \c {qtcreator [option] [filename[:line_number[:column_number]]]} \note You can use either a colon (:) or a plus sign (+) as a separator - between the filename and line number. You can also use a space between the - separator and the line number. + between the filename and line number and the line number and the column + number. You can also use a space between the separator and the line number. For example, on Windows: @@ -48,9 +48,9 @@ \li \c {C:\qtcreator\bin>qtcreator -help} - \li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp:100} + \li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp:100:2} - \li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp +100} + \li \c {C:\qtcreator\bin>qtcreator C:\TextFinder\textfinder.cpp +100+2} \endlist -- GitLab