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/01 16:52:58 UTC

svn commit: r1845499 - /subversion/branches/multi-wc-format/subversion/svn/svn.c

Author: brane
Date: Thu Nov  1 16:52:58 2018
New Revision: 1845499

URL: http://svn.apache.org/viewvc?rev=1845499&view=rev
Log:
Move the detaulsd description of the --show-item option to the
help text for the 'info' command.

* subversion/svn/svn.c
  (svn_cl__cmd_table): Move the --show-item help text here.
  (svn_cl__options): Keep only the option definition for --show-item.

Modified:
    subversion/branches/multi-wc-format/subversion/svn/svn.c

Modified: subversion/branches/multi-wc-format/subversion/svn/svn.c
URL: http://svn.apache.org/viewvc/subversion/branches/multi-wc-format/subversion/svn/svn.c?rev=1845499&r1=1845498&r2=1845499&view=diff
==============================================================================
--- subversion/branches/multi-wc-format/subversion/svn/svn.c (original)
+++ subversion/branches/multi-wc-format/subversion/svn/svn.c Thu Nov  1 16:52:58 2018
@@ -428,49 +428,7 @@ const apr_getopt_option_t svn_cl__option
                           "                             "
                           "current revision (recommended when tagging)")},
   {"show-item", opt_show_item, 1,
-                       N_("print only the item identified by ARG:\n"
-                          "                             "
-                          "   'kind'       node kind of TARGET\n"
-                          "                             "
-                          "   'url'        URL of TARGET in the repository\n"
-                          "                             "
-                          "   'relative-url'\n"
-                          "                             "
-                          "                repository-relative URL of TARGET\n"
-                          "                             "
-                          "   'repos-root-url'\n"
-                          "                             "
-                          "                root URL of repository\n"
-                          "                             "
-                          "   'repos-uuid' UUID of repository\n"
-                          "                             "
-                          "   'revision'   specified or implied revision\n"
-                          "                             "
-                          "   'last-changed-revision'\n"
-                          "                             "
-                          "                last change of TARGET at or before\n"
-                          "                             "
-                          "                'revision'\n"
-                          "                             "
-                          "   'last-changed-date'\n"
-                          "                             "
-                          "                date of 'last-changed-revision'\n"
-                          "                             "
-                          "   'last-changed-author'\n"
-                          "                             "
-                          "                author of 'last-changed-revision'\n"
-                          "                             "
-                          "   'wc-root'    root of TARGET's working copy\n"
-                          "                             "
-                          "   'schedule'   'normal','add','delete','replace'\n"
-                          "                             "
-                          "   'depth'      checkout depth of TARGET in WC\n"
-                          "                             "
-                          "   'wc-format'  TARGET's working copy format\n"
-                          "                             "
-                          "   'wc-format-min'   oldest supported WC format\n"
-                          "                             "
-                          "   'wc-format-min'   newest supported WC format\n")},
+                       N_("print only the item identified by ARG")},
 
   {"adds-as-modification", opt_adds_as_modification, 0,
                        N_("Local additions are merged with incoming additions\n"
@@ -869,7 +827,50 @@ const svn_opt_subcommand_desc3_t svn_cl_
     )},
     {'r', 'R', opt_depth, opt_targets, opt_incremental, opt_xml,
      opt_changelist, opt_include_externals, opt_show_item, opt_no_newline,
-     opt_viewspec}
+     opt_viewspec},
+    {{opt_show_item, N_("print only the item identified by ARG:\n"
+                        "                             "
+                        "   'kind'       node kind of TARGET\n"
+                        "                             "
+                        "   'url'        URL of TARGET in the repository\n"
+                        "                             "
+                        "   'relative-url'\n"
+                        "                             "
+                        "                repository-relative URL of TARGET\n"
+                        "                             "
+                        "   'repos-root-url'\n"
+                        "                             "
+                        "                root URL of repository\n"
+                        "                             "
+                        "   'repos-uuid' UUID of repository\n"
+                        "                             "
+                        "   'revision'   specified or implied revision\n"
+                        "                             "
+                        "   'last-changed-revision'\n"
+                        "                             "
+                        "                last change of TARGET at or before\n"
+                        "                             "
+                        "                'revision'\n"
+                        "                             "
+                        "   'last-changed-date'\n"
+                        "                             "
+                        "                date of 'last-changed-revision'\n"
+                        "                             "
+                        "   'last-changed-author'\n"
+                        "                             "
+                        "                author of 'last-changed-revision'\n"
+                        "                             "
+                        "   'wc-root'    root of TARGET's working copy\n"
+                        "                             "
+                        "   'schedule'   'normal','add','delete','replace'\n"
+                        "                             "
+                        "   'depth'      checkout depth of TARGET in WC\n"
+                        "                             "
+                        "   'wc-format'  TARGET's working copy format\n"
+                        "                             "
+                        "   'wc-format-min'   oldest supported WC format\n"
+                        "                             "
+                        "   'wc-format-min'   newest supported WC format\n")}},
   },
 
   { "list", svn_cl__list, {"ls"},