# Bug Report: Minor bug in contrib/fast-import/git-p4

1 messages from 2010-08-25 to 2010-08-25. Participants: Cristobalito Cristobalito.
Thread: https://gitlist.dev/t/24861

## Cristobalito Cristobalito, 2010-08-25 22:20

Subject: Bug Report: Minor bug in contrib/fast-import/git-p4
Message-ID: <AANLkTimg=0bEGrn6Vy6a3WTx5S1Cjk+JW7jZJthFN3HD@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTimg%3D0bEGrn6Vy6a3WTx5S1Cjk%2BJW7jZJthFN3HD%40mail.gmail.com

```
Only a very minor change and I wasn't sure how to submit an actual
patch but I've copied the diff and local commit message below.
Hopefully someone can commit the change on my behalf.

Thanks,

Chris

<PATCH>

As specified in the perforce documentation
(http://www.perforce.com/perforce/doc.current/manuals/cmdref/o.gopts.html),
the host is actually specified with a capital 'H'. The small 'h'
displays the help message.

-------------------------- contrib/fast-import/git-p4 --------------------------
index c1ea643..d89d06c 100755
@@ -38,7 +38,7 @@ def p4_build_cmd(cmd):

     host = gitConfig("git-p4.host")
     if len(host) > 0:
-        real_cmd += "-h %s " % host
+        real_cmd += "-H %s " % host

     client = gitConfig("git-p4.client")
     if len(client) > 0:

</PATCH>

```
