You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Martin Pool <mb...@samba.org> on 2002/12/12 02:22:04 UTC

[PATCH] updated patch to --help -r

* subversion/clients/cmdline/main.c
  (svn_cl__options): Rephrase help for the '-r' option to include
  short descriptions of the BASE, HEAD, COMMITED and PREV revision
  keywords.  Help for this option now extends over several lines.

Thanks for the correction, Philip.  Is this better?

Index: main.c
===================================================================
--- main.c	(revision 4083)
+++ main.c	(working copy)
@@ -65,7 +65,14 @@
     {"recursive",     'R', 0, "descend recursively"},
     {"nonrecursive",  'N', 0, "operate on single directory only"},
     {"revision",      'r', 1,
-                  "revision ARG, X:Y range ({ARG}, {X}:{Y} for dates)"},
+                  "revision X or X:Y range,\n"
+     "                             {DATE}    for dates,\n"
+     "                             HEAD      latest in repository,\n"
+     "                             BASE      basis of item's working copy,\n"
+     "                             COMMITTED revision of last change of item,\n"
+     "                             PREV      revision before last change of item"
+     /* spacing corresponds to svn_opt_format_option */
+    },
     {"file",          'F', 1, "read data from file ARG"},
     {"incremental",   svn_cl__incremental_opt, 0,
                       "give output suitable for concatenation"},

-- 
Martin 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org