git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/5] cvsimport: sync usage lines with existing options

From
Frank Lichtenheld <frank@lichtenheld.de>
Date
Apr 6, 2007, 21:52 UTC
Message-ID
<11758963634155-git-send-email-frank@lichtenheld.de>
In-Reply-To
<11758963633237-git-send-email-frank@lichtenheld.de>

Sync both the usage lines in the code and the asciidoc documentation with the real list of options. While all options seems to be documented in the asciidoc document, not all of them were listed in the usage line.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
---
 Documentation/git-cvsimport.txt |    8 +++++---
 git-cvsimport.perl              |    5 +++--
 2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
index 0d59c06..8374d90 100644
--- a/Documentation/git-cvsimport.txt
+++ b/Documentation/git-cvsimport.txt
@@ -9,9 +9,11 @@ git-cvsimport - Salvage your data out of another SCM people love to hate
 SYNOPSIS
 --------
 [verse]
-'git-cvsimport' [-o <branch-for-HEAD>] [-h] [-v] [-d <CVSROOT>] [-s <subst>]
-	      [-p <options-for-cvsps>] [-C <git_repository>] [-i] [-P <file>]
-	      [-m] [-M regex] [<CVS_module>]
+'git-cvsimport' [-o <branch-for-HEAD>] [-h] [-v] [-d <CVSROOT>]
+	      [-A <author-conv-file>] [-p <options-for-cvsps>] [-P <file>]
+	      [-C <git_repository>] [-z <fuzz>] [-i] [-k] [-u] [-s <subst>]
+	      [-a] [-m] [-M <regex>] [-S <regex>] [-L <commitlimit>]
+	      [<CVS_module>]
 
 
 DESCRIPTION
diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index 1a1ba7b..d3fbcbc 100755
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
@@ -36,8 +36,9 @@ sub usage() {
 	print STDERR <<END;
 Usage: ${\basename $0}     # fetch/update GIT from CVS
        [-o branch-for-HEAD] [-h] [-v] [-d CVSROOT] [-A author-conv-file]
-       [-p opts-for-cvsps] [-C GIT_repository] [-z fuzz] [-i] [-k] [-u]
-       [-s subst] [-a] [-m] [-M regex] [-S regex] [CVS_module]
+       [-p opts-for-cvsps] [-P file] [-C GIT_repository] [-z fuzz] [-i] [-k]
+       [-u] [-s subst] [-a] [-m] [-M regex] [-S regex] [-L commitlimit]
+       [CVS_module]
 END
 	exit(1);
 }
-- 
1.5.1
Previous: Frank LichtenheldNext: Frank Lichtenheld
Message 2 of 6 in “cvsimport: Improve documentation”
  1. 0/5 cvsimport: Improve documentationFrank Lichtenheld, Apr 6, 2007
  2. 1/5 cvsimport: sync usage lines with existing optionsFrank Lichtenheld, Apr 6, 2007
  3. 2/5 cvsimport: Improve documentation of CVSROOT and CVS module determinationFrank Lichtenheld, Apr 6, 2007
  4. 3/5 cvsimport: Improve usage error reportingFrank Lichtenheld, Apr 6, 2007
  5. 4/5 cvsimport: Reorder options in documentation for better understandingFrank Lichtenheld, Apr 6, 2007
  6. 5/5 cvsimport: Improve formating consistencyFrank Lichtenheld, Apr 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.