Skip to content
Snippets Groups Projects
Commit 397c5c10 authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Doc: opening files from the CLI to a particular column


Change-Id: I1c4ded62dda05a988a394a2e49c7e344f678b000
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 95246b8e
No related branches found
No related tags found
No related merge requests found
...@@ -31,16 +31,16 @@ ...@@ -31,16 +31,16 @@
\title Using Command Line Options \title Using Command Line Options
You can start \QC and specify some options from the command line. For 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 To specify command line options, enter the following command in the \QC
installation or build directory: 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 \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 between the filename and line number and the line number and the column
separator and the line number. number. You can also use a space between the separator and the line number.
For example, on Windows: For example, on Windows:
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
\li \c {C:\qtcreator\bin>qtcreator -help} \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 \endlist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment