Author: stefan2
Date: Sat Sep 2 15:42:22 2017
New Revision: 1807061
URL: http://svn.apache.org/viewvc?rev=1807061&view=rev
Log:
Improve UI documentation for the '--search' option.
* subversion/svn/svn.c
(svn_cl__options): Mention that '--search' is case- and accent-insensitive.
(svn_cl__cmd_table): Explain how '--search' operates on 'svn ls'.
* subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Update test expectations.
Modified:
subversion/trunk/subversion/svn/svn.c
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Modified: subversion/trunk/subversion/svn/svn.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/svn.c?rev=1807061&r1=1807060&r2=1807061&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/svn.c (original)
+++ subversion/trunk/subversion/svn/svn.c Sat Sep 2 15:42:22 2017
@@ -402,7 +402,9 @@ const apr_getopt_option_t svn_cl__option
{"show-inherited-props", opt_show_inherited_props, 0,
N_("retrieve properties set on parents of the target")},
{"search", opt_search, 1,
- N_("use ARG as search pattern (glob syntax)")},
+ N_("use ARG as search pattern (glob syntax, case-\n"
+ " "
+ "and accent-insensitive)")},
{"search-and", opt_search_and, 1,
N_("combine ARG with the previous search pattern")},
{"log", opt_mergeinfo_log, 0,
@@ -802,6 +804,10 @@ const svn_opt_subcommand_desc2_t svn_cl_
" The default TARGET is '.', meaning the repository URL of the current\n"
" working directory.\n"
"\n"
+ " Multiple --search patterns may be specified and the output will be\n"
+ " reduced to those paths whose last segment - i.e. the file or
directory\n"
+ " name - matches at least one of these patterns.\n"
+ "\n"
" With --verbose, the following fields will be shown for each item:\n"
"\n"
" Revision number of the last commit\n"
Modified:
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout?rev=1807061&r1=1807060&r2=1807061&view=diff
==============================================================================
---
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
(original)
+++
subversion/trunk/subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout
Sat Sep 2 15:42:22 2017
@@ -126,7 +126,8 @@ Valid options:
--ignore-eol-style: Ignore changes in EOL style
-U ARG, --context ARG: Show ARG lines of context
-p, --show-c-function: Show C function name
- --search ARG : use ARG as search pattern (glob syntax)
+ --search ARG : use ARG as search pattern (glob syntax, case-
+ and accent-insensitive)
--search-and ARG : combine ARG with the previous search pattern
Global options: