hg2git.sh: Complete --help output's option listing
authorRocco Rutte <pdmef@gmx.net>
Mon, 12 Mar 2007 09:06:48 +0000 (09:06 +0000)
committerRocco Rutte <pdmef@gmx.net>
Mon, 12 Mar 2007 09:06:48 +0000 (09:06 +0000)
This also adds some more verbose descriptions than the bare listing.

Signed-off-by: Rocco Rutte <pdmef@gmx.net>
hg2git.sh

index 34d5227bdf9f289f0691b0542b22c765d6be1d81..3dd9d5b1380b019948147e178724c28b2d8d381c 100755 (executable)
--- a/hg2git.sh
+++ b/hg2git.sh
@@ -8,10 +8,19 @@ SFX_HEADS="heads"
 SFX_STATE="state"
 QUIET=""
 
-USAGE="[-m <max>] [--quiet] [<repo>]"
+USAGE="[-m <max>] [--quiet] [-s] [-A <file>] [-r <repo>]"
 LONG_USAGE="Import hg repository <repo> up to either tip or <max>
 If <repo> is omitted, use last hg repository as obtained from state file,
-GIT_DIR/$PFX-$SFX_STATE by default."
+GIT_DIR/$PFX-$SFX_STATE by default.
+
+Options:
+       -m      Maximum revision to import
+       --quiet Passed to git-fast-import(1)
+       -s      Enable parsing Signed-off-by lines
+       -A      Read author map from file
+               (Same as in git-svnimport(1) and git-cvsimport(1))
+       -r      Mercurial repository to import
+"
 
 . git-sh-setup
 cd_to_toplevel