From 6e7a18e22d4d4cbfad917e18b784adf1912aa67f Mon Sep 17 00:00:00 2001 From: Julian Foad Date: Sat, 31 Aug 2019 07:31:11 +0000 Subject: [PATCH] Issue #4828: remind user they can use '-v' to show experimental options. * subversion/libsvn_subr/opt.c (print_command_info3): Show a reminder if experimental options were hidden. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1866190 13f79535-47bb-0310-9956-ffa450edef68 --- subversion/libsvn_subr/opt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subversion/libsvn_subr/opt.c b/subversion/libsvn_subr/opt.c index caf8fe5c87..d7746ca748 100644 --- a/subversion/libsvn_subr/opt.c +++ b/subversion/libsvn_subr/opt.c @@ -323,6 +323,9 @@ print_command_info3(const svn_opt_subcommand_desc3_t *cmd, } } + if (have_experimental && !with_experimental) + SVN_ERR(svn_cmdline_fputs(_("\n(Use '-v' to show experimental options.)\n"), + stream, pool)); if (have_options) SVN_ERR(svn_cmdline_fprintf(stream, pool, "\n")); } -- 2.11.4.GIT