Fixed/Improved description of -rp/--relative-paths

run astyle
This commit is contained in:
PKEuS 2012-04-14 16:07:37 +02:00
parent 9f054fbb3c
commit 3eede5ba8c
4 changed files with 9 additions and 5 deletions

View File

@ -808,6 +808,10 @@ void CmdLineParser::PrintHelp() const
" Use relative paths in output. When given, <paths> are\n"
" used as base. You can separate multiple paths by ';'.\n"
" Otherwise path where source files are searched is used.\n"
" We use string comparison to create relative paths, so\n"
" using e.g. ~ for home folder does not work. It is\n"
" currently only possible to apply the base paths to files\n"
" that are on a lower level in the directory tree.\n"
" --report-progress Report progress messages while checking a file.\n"
#ifdef HAVE_RULES
" --rule=<rule> Match regular expression.\n"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "selectfilesdialog.h"
#include "ui_selectfilesdialog.h"
#include "filelist.h"

View File

@ -15,7 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef selectfilesdialogH
#define selectfilesdialogH

View File

@ -366,12 +366,12 @@ Directory name is matched to all parts of the path.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--rp</option></term>
<term><option>--rp=&lt;paths&gt;</option></term>
<term><option>-rp</option></term>
<term><option>-rp=&lt;paths&gt;</option></term>
<term><option>--relative-paths;</option></term>
<term><option>--relative-paths=&lt;paths&gt;</option></term>
<listitem>
<para>Use relative paths in output. When given, &lt;paths&gt; are used as base. You can separate multiple paths by ';'. Otherwise path where source files are searched is used. E.g. if given value is test, when checking test/test.cpp, the path in output will be test.cpp instead of test/test.cpp. The feature uses string comparison to create relative paths, so using e.g. ~ for home folder does not work.</para>
<para>Use relative paths in output. When given, &lt;paths&gt; are used as base. You can separate multiple paths by ';'. Otherwise path where source files are searched is used. E.g. if given value is test, when checking test/test.cpp, the path in output will be test.cpp instead of test/test.cpp. The feature uses string comparison to create relative paths, so using e.g. ~ for home folder does not work. It is currently only possible to apply the base paths to files that are on a lower level in the directory tree.</para>
</listitem>
</varlistentry>
<varlistentry>