Commit 397c5c10 authored by Leena Miettinen's avatar Leena Miettinen

Doc: opening files from the CLI to a particular column

Change-Id: I1c4ded62dda05a988a394a2e49c7e344f678b000
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 95246b8e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment