Description
The four examples for the command "m365 spo listitem roleinheritance break" use the parameter "--id". It should be "--listItemId". (https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-roleinheritance-break/). This is not a bug in the command, everything works correctly with it. It is only a small correction in the command information.
Steps to reproduce
See the four examples on the page https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-roleinheritance-break/ :
etc.
Expected results
It should be:
etc.
Actual results
"--id" instead of "--listItemId"
Diagnostics
No response
CLI for Microsoft 365 version
v5.6.0
nodejs version
v16.13.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Description
The four examples for the command "m365 spo listitem roleinheritance break" use the parameter "--id". It should be "--listItemId". (https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-roleinheritance-break/). This is not a bug in the command, everything works correctly with it. It is only a small correction in the command information.
Steps to reproduce
See the four examples on the page https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-roleinheritance-break/ :
m365 spo listitem roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --id 1
m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listId 202b8199-b9de-43fd-9737-7f213f51c991 --id 1
etc.
Expected results
It should be:
m365 spo listitem roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1
m365 spo listitem roleinheritance break --webUrl https://contoso.sharepoint.com/sites/project-x --listId 202b8199-b9de-43fd-9737-7f213f51c991 --listItemId 1
etc.
Actual results
"--id" instead of "--listItemId"
Diagnostics
No response
CLI for Microsoft 365 version
v5.6.0
nodejs version
v16.13.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response