Cli-microsoft365: Bug report: Help description example wrong for sharingCapability in the command spo site set

Created on 20 Aug 2020  路  3Comments  路  Source: pnp/cli-microsoft365

Description

Help description provided for the parameter sharingCapability in spo site set is wrong in the help description

Steps to reproduce

  • Type in the command help spo site set

  • It will show the help of the command and the description.

The name of the parameter for setting sharing capability is --sharingCapability. But in the help description example, it is mentioned wrong.
image

Code Examples given in the help
image

Expected result

      Restrict external sharing to already available external users only
      spo site set --url https://contoso.sharepoint.com/sites/sales --sharingCapability ExternalUserSharingOnly

Actual result

      Restrict external sharing to already available external users only
      spo site set --url https://contoso.sharepoint.com/sites/sales ----sharingCapabilities ExternalUserSharingOnly

image

Environment

2.14.0-beta.1cd587b

bug work in progress

Most helpful comment

Sorry for the trouble, I missed it when adjusting and a good catch 馃憦 Appreciate your help and double checking.

Not a problem at all. Always excited to help in whichever way I could... 馃憤

All 3 comments

Please feel free to assign this issue to myself if you guys are fine with that. This is related to #1713

Sorry for the trouble, I missed it when adjusting and a good catch 馃憦 Appreciate your help and double checking.

Sorry for the trouble, I missed it when adjusting and a good catch 馃憦 Appreciate your help and double checking.

Not a problem at all. Always excited to help in whichever way I could... 馃憤

Was this page helpful?
0 / 5 - 0 ratings