git-p4: correct --prepare-p4-only instructions

If you use git-p4 with the "--prepare-p4-only" option, then it prints the p4 command line to use. However, the command line was incorrect: the changelist specification must be supplied on standard input, not as an argument to p4. Signed-off-by: Luke Diamand <luke@diamand.org> Acked-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Luke Diamand committed Jan 23, 2015 at 09:15 UTC 10de86d0d57dfa6680e229bfa0aa8ed31382767e
1 file changed +1 -1
git-p4.py
+1 -1
@@ -1442,7 +1442,7 @@ class P4Submit(Command, P4UserMap):
1442 print " " + self.clientPath
1443 print
1444 print "To submit, use \"p4 submit\" to write a new description,"
1445 - print "or \"p4 submit -i %s\" to use the one prepared by" \
1445 + print "or \"p4 submit -i <%s\" to use the one prepared by" \
1446 " \"git p4\"." % fileName
1447 print "You can delete the file \"%s\" when finished." % fileName
1448