You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2018/11/25 18:35:19 UTC
svn commit: r1847426 - /subversion/trunk/subversion/svn/list-cmd.c
Author: brane
Date: Sun Nov 25 18:35:19 2018
New Revision: 1847426
URL: http://svn.apache.org/viewvc?rev=1847426&view=rev
Log:
Make the option compatibility error messages from 'svn list' consistent
with those from 'svn info'.
* subversion/svn/list-cmd.c (svn_cl__list): Update error messages.
Modified:
subversion/trunk/subversion/svn/list-cmd.c
Modified: subversion/trunk/subversion/svn/list-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/list-cmd.c?rev=1847426&r1=1847425&r2=1847426&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/list-cmd.c (original)
+++ subversion/trunk/subversion/svn/list-cmd.c Sun Nov 25 18:35:19 2018
@@ -429,8 +429,9 @@ svn_cl__list(apr_getopt_t *os,
/* The XML output contains all the information, so "--verbose"
does not apply. */
if (opt_state->verbose)
- return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
- _("'verbose' option invalid in XML mode"));
+ return svn_error_create(
+ SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
+ _("--verbose is not valid in --xml mode"));
/* If output is not incremental, output the XML header and wrap
everything in a top-level element. This makes the output in
@@ -441,9 +442,9 @@ svn_cl__list(apr_getopt_t *os,
else
{
if (opt_state->incremental)
- return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
- _("'incremental' option only valid in XML "
- "mode"));
+ return svn_error_create(
+ SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
+ _("--incremental is only valid in --xml mode"));
}
if (opt_state->xml)