diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 00724a8b1..fa5da9852 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -808,6 +808,10 @@ void CmdLineParser::PrintHelp() const " Use relative paths in output. When given, 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= Match regular expression.\n" diff --git a/gui/selectfilesdialog.cpp b/gui/selectfilesdialog.cpp index b8ed5c8fd..e1f3226ef 100644 --- a/gui/selectfilesdialog.cpp +++ b/gui/selectfilesdialog.cpp @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - + #include "selectfilesdialog.h" #include "ui_selectfilesdialog.h" #include "filelist.h" diff --git a/gui/selectfilesdialog.h b/gui/selectfilesdialog.h index 262413183..75ffa586d 100644 --- a/gui/selectfilesdialog.h +++ b/gui/selectfilesdialog.h @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - + #ifndef selectfilesdialogH #define selectfilesdialogH diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index 8bcb404ea..1b6513499 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -366,12 +366,12 @@ Directory name is matched to all parts of the path. - - + + - Use relative paths in output. When given, <paths> 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. + Use relative paths in output. When given, <paths> 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.