Skip to content

Commit e6a7cc9

Browse files
[SYCLomatic] Update help msg of option --rule-file (#2612)
Signed-off-by: Jiang, Zhiwei <zhiwei.jiang@intel.com> Co-authored-by: Wang, Zhiming <zhiming.wang@intel.com>
1 parent be925b2 commit e6a7cc9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/include/clang/DPCT/DPCTOptions.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,10 @@ DPCT_OPTION(clang::dpct::list, std::string, RuleFile,
435435
clang::dpct::DpctActionKind::DAK_BuildScript,
436436
clang::dpct::DpctActionKind::DAK_Analysis),
437437
"rule-file",
438-
llvm::cl::desc("Specify the rule file path that "
439-
"contains rules used for migration.\n"),
438+
llvm::cl::desc(
439+
"Specify the rule file "
440+
"for migration. Also, reference to the predefined rules in"
441+
" \"extensions\" directory in the root folder of the tool.\n"),
440442
llvm::cl::value_desc("file"), llvm::cl::cat(CtHelpCatAdvanced),
441443
llvm::cl::ZeroOrMore)
442444

0 commit comments

Comments
 (0)