From: Eric S. Raymond Date: Sun, 14 Nov 2010 06:05:01 +0000 (-0500) Subject: Update docs and comments. X-Git-Tag: 0.1~10 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=7051f9691f175c384d886c920964ce6b07af37fb;p=rcs-fast-import.git Update docs and comments. --- diff --git a/rcs-fast-import b/rcs-fast-import index 0cc66e1..7afc631 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -7,7 +7,7 @@ # Requires Python 2.5 or newer and RCS 5.7 or newer. # """ -Usage: rcs-fast-import [-v] [-p] [-u] [-l] [-n] [-V] +Usage: rcs-fast-import [-v] [-p] [-u] [-l] [-V] [-?] Break the content of a git-fast-import stream on stdin into individual RCS master files in RCS subdirectories of the corresponding directory structure. @@ -24,10 +24,6 @@ revisions; with the -u option, check out but do not lock. The -V option displays the program version number and exits. -? displays this help and exits. - -The -n option sets dry-run mode; parse the import stream, then go through -all logic other than actually creating files. Useful for debugging in -combination with -v. """ import sys, os, getopt, re, cStringIO, subprocess, shutil diff --git a/rcs-fast-import.xml b/rcs-fast-import.xml index 75a2cc9..c1e5ae0 100644 --- a/rcs-fast-import.xml +++ b/rcs-fast-import.xml @@ -24,6 +24,7 @@ -l -p -V + -? @@ -46,7 +47,7 @@ option, the RCS subdirectories and masters are created but no working copies checked out. The -V option displays the program version number and exits. -? displays -this help and exits. +a help message and exits. In order to preserve history, D file operations do not delete previously-created master files; instead, an empty file is checked in