From 7a660199017cd23a639a18232aaaf847c2d200be Mon Sep 17 00:00:00 2001 From: Smita Nachan Date: Wed, 20 Sep 2023 13:24:12 +0000 Subject: [PATCH] Change short option --- docs/docs/cmd/spo/file/file-get.mdx | 4 ++-- docs/docs/cmd/spo/file/file-remove.mdx | 4 ++-- docs/docs/cmd/spo/file/file-version-clear.mdx | 4 ++-- docs/docs/cmd/spo/file/file-version-get.mdx | 4 ++-- docs/docs/cmd/spo/file/file-version-list.mdx | 4 ++-- docs/docs/cmd/spo/file/file-version-remove.mdx | 4 ++-- docs/docs/cmd/spo/file/file-version-restore.mdx | 4 ++-- docs/docs/v7-upgrade-guidance.mdx | 14 ++++++++++++++ src/m365/spo/commands/file/file-get.ts | 4 ++-- src/m365/spo/commands/file/file-remove.ts | 4 ++-- src/m365/spo/commands/file/file-version-clear.ts | 4 ++-- src/m365/spo/commands/file/file-version-get.ts | 4 ++-- src/m365/spo/commands/file/file-version-list.ts | 4 ++-- src/m365/spo/commands/file/file-version-remove.ts | 4 ++-- src/m365/spo/commands/file/file-version-restore.ts | 4 ++-- 15 files changed, 42 insertions(+), 28 deletions(-) diff --git a/docs/docs/cmd/spo/file/file-get.mdx b/docs/docs/cmd/spo/file/file-get.mdx index 68a89ac843d..5286b10a9e5 100644 --- a/docs/docs/cmd/spo/file/file-get.mdx +++ b/docs/docs/cmd/spo/file/file-get.mdx @@ -15,10 +15,10 @@ m365 spo file get [options] ## Options ```md definition-list -`-w, --webUrl ` +`-u, --webUrl ` : The URL of the site where the file is located -`-u, --url [url]` +`--url [url]` : The server- or site-relative decoded URL of the file to retrieve. Specify either `url` or `id` but not both `-i, --id [id]` diff --git a/docs/docs/cmd/spo/file/file-remove.mdx b/docs/docs/cmd/spo/file/file-remove.mdx index 0c485ab4b36..38fb186be6b 100644 --- a/docs/docs/cmd/spo/file/file-remove.mdx +++ b/docs/docs/cmd/spo/file/file-remove.mdx @@ -19,13 +19,13 @@ m365 spo page template remove ## Options ```md definition-list -`-w, --webUrl ` +`-u, --webUrl ` : URL of the site where the file to remove is located `-i, --id [id]` : The ID of the file to remove. Specify either `id` or `url` but not both -`-u, --url [url]` +`--url [url]` : The server- or site-relative decoded URL of the file to remove. Specify either `id` or `url` but not both `--recycle` diff --git a/docs/docs/cmd/spo/file/file-version-clear.mdx b/docs/docs/cmd/spo/file/file-version-clear.mdx index 3b375bfdade..4e8f97a6288 100644 --- a/docs/docs/cmd/spo/file/file-version-clear.mdx +++ b/docs/docs/cmd/spo/file/file-version-clear.mdx @@ -13,10 +13,10 @@ m365 spo file version clear [options] ## Options ```md definition-list -`-w, --webUrl ` +`-u, --webUrl ` : The URL of the site where the file is located -`-u, --fileUrl [fileUrl]` +`--fileUrl [fileUrl]` : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both `-i, --fileId [fileId]` diff --git a/docs/docs/cmd/spo/file/file-version-get.mdx b/docs/docs/cmd/spo/file/file-version-get.mdx index 73b05fe01f4..1fa6a32f717 100644 --- a/docs/docs/cmd/spo/file/file-version-get.mdx +++ b/docs/docs/cmd/spo/file/file-version-get.mdx @@ -15,13 +15,13 @@ m365 spo file version get [options] ## Options ```md definition-list -`-w, --webUrl ` +`-u, --webUrl ` : The URL of the site where the file is located `--label