Author: rhuijben Date: Thu Jun 19 13:16:36 2014 New Revision: 1603871 URL: http://svn.apache.org/r1603871 Log: Following up on r1603847, add help output for -U diff option.
* subversion/svn/svn.c (svn_cl__options): * subversion/svnlook/svnlook.c (options_table): Document - U. * subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout Tweak expected output. Modified: subversion/trunk/subversion/svn/svn.c subversion/trunk/subversion/svnlook/svnlook.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=1603871&r1=1603870&r2=1603871&view=diff ============================================================================== --- subversion/trunk/subversion/svn/svn.c (original) +++ subversion/trunk/subversion/svn/svn.c Thu Jun 19 13:16:36 2014 @@ -210,6 +210,8 @@ const apr_getopt_option_t svn_cl__option " " " --ignore-eol-style: Ignore changes in EOL style\n" " " + " -U ARG, --context ARG: Show ARG lines of context\n" + " " " -p, --show-c-function: Show C function name")}, {"targets", opt_targets, 1, N_("pass contents of file ARG as additional args")}, Modified: subversion/trunk/subversion/svnlook/svnlook.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnlook/svnlook.c?rev=1603871&r1=1603870&r2=1603871&view=diff ============================================================================== --- subversion/trunk/subversion/svnlook/svnlook.c (original) +++ subversion/trunk/subversion/svnlook/svnlook.c Thu Jun 19 13:16:36 2014 @@ -191,6 +191,8 @@ static const apr_getopt_option_t options " " " --ignore-eol-style: Ignore changes in EOL style\n" " " + " -U ARG, --context ARG: Show ARG lines of context\n" + " " " -p, --show-c-function: Show C function name")}, {"quiet", 'q', 0, 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=1603871&r1=1603870&r2=1603871&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 Thu Jun 19 13:16:36 2014 @@ -110,6 +110,7 @@ Valid options: amount of white space -w, --ignore-all-space: Ignore all white space --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-and ARG : combine ARG with the previous search pattern