diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx index cd58b706aa..640b6388a7 100644 --- a/l3packages/xparse/xparse.dtx +++ b/l3packages/xparse/xparse.dtx @@ -1072,14 +1072,14 @@ \clist_new:N \l_@@_options_clist \DeclareOption* { \clist_put_right:NV \l_@@_options_clist \CurrentOption } \ProcessOptions \relax -\keys_define:nn { xparse } +\keys_define:nn { ltcmd } { log-declarations .bool_set:N = \l_@@_log_bool , log-declarations .initial:n = false } -\keys_set:nV { xparse } \l_@@_options_clist +\keys_set:nV { ltcmd } \l_@@_options_clist \bool_if:NF \l_@@_log_bool - { \msg_redirect_module:nnn { LaTeX / xparse } { info } { none } } + { \msg_redirect_module:nnn { LaTeX / ltcmd } { info } { none } } % \end{macrocode} % \end{variable} % \end{variable} @@ -1097,7 +1097,7 @@ \int_incr:N \l_@@_current_arg_int \cs_if_exist_use:cF { @@_normalize_type_ \tl_to_str:n {#1} :w } { - \__kernel_msg_error:nnxx { xparse } { unknown-argument-type } + \__kernel_msg_error:nnxx { ltcmd } { unknown-argument-type } { \@@_environment_or_command: } { \tl_to_str:n {#1} } \@@_bad_def:wn }