Commit c25c3678 authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Doc: opening files to a specified line from command line

Reviewed-by: Leandro Melo
Reviewed-by: dt
parent adb4ce20
......@@ -10315,15 +10315,28 @@
\title Using Command Line Options
You can start Qt Creator and specify some options from the command line.
For example, you can open a file to any line.
To specify command line options, enter the following command in the Qt Creator
installation or build directory:
\c {qtcreator [option] [filename]}
\c {qtcreator [option] [filename[:line_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.
For example:
\c {C:\qtcreator-2.1\bin>qtcreator -help}
\o \c {C:\qtcreator-2.1\bin>qtcreator -help}
\o \c {C:\qtcreator-2.1\bin>qtcreator C:\TextFinder\textfinder.cpp:100}
\o \c {C:\qtcreator-2.1\bin>qtcreator C:\TextFinder\textfinder.cpp +100}
The following table summarizes the available options:
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