Open templafymek opened 4 years ago
@tedchamb Actually it is related to #160 but now for also --merge-commit-message.
I noticed if you don't apply the option to the cli and click 'Set auto-complete', in the background DevOps actually does it by nature. The only thing which is needed is to enable it for the cli also like the description field.
For documentation, the resolution in #160 does not work for this argument:
az repos pr update --id 1234 --auto-complete true --merge-commit-message "Merged PR 1234: commit title" "Related work items: #45678"
responds with:
unrecognized arguments: Related work items: #45678
TRY THIS:
https://aka.ms/cli_ref
Read more about the command in reference docs
(in both CMD and Pwsh)
@v-soujanya could someone from the team take a look at this?
This is autogenerated. Please review and update as needed.
Describe the bug
I want to update the default message with a custom message that has newlines but the CLI is not respecting my newline characters. I've tried
`n, \n, \\n
Command Name
az repos pr update Extension Name: azure-devops. Version: 0.17.0.
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az repos pr update --id 1234 --merge-commit-message "Merge PR 14: Implement Authentication\nRelated work item: #12345"
Expected Behavior
Multiline string when using
az repos pr show --id 1234
incompletionOptions.mergeCommitMessage
field.Environment Summary
Additional Context