Hi I wanted to put multi line description using following command
p4 --field Description="MY CLN Header \\n my CLN complete description in two -three lines update " change -o |p4 change -i
If you can't convince your shell to pass the required linebreak and tab characters as part of the command line argument, try telling the --field option to append the second line to the first:
p4 --field Description="MY CLN Header" --field Description+="my CLN complete description in two -three lines update" change -o|p4 change -i
(edit) or, since that's buggy, you could do something like this using P4Perl:
$change = $p4->FetchChange();
$change->_Description( "MY CLN Header \n my CLN complete description in two -three lines update " );
$form = $p4->FormatChange( $change );
$p4->SaveChange( $form );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With