Priority
(Medium) I'm annoyed but I'll live
Description
When an option is required but long name option is typed with only one - then no error is thrown.
Steps to reproduce
Let's say the m365 aad m365group get command requires the id option
m365 aad m365group get => prompts user to specify id
m365 aad m365group get --id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9 => return the result
m365 aad m365group get -id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9 => do nothing, no result, no prompt, no error
It seems to be a general issue for all commands.
Expected results
m365 aad m365group get -id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9 => throws error
Actual results
m365 aad m365group get -id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9 => do nothing, no result, no prompt, no error
Diagnostics
nothing in the output when using the --debug option
CLI for Microsoft 365 version
v7.2.0
nodejs version
v18.18.2
Operating system (environment)
Windows
Shell
Other
cli doctor
{
"os": {
"platform": "win32",
"version": "Windows 10 Pro",
"release": "10.0.22621"
},
"cliVersion": "7.2.0",
"nodeVersion": "v18.18.2",
"cliAadAppId": "xxx",
"cliAadAppTenant": "single",
"authMode": "DeviceCode",
"cliEnvironment": "",
"cliConfig": {},
"roles": [],
"scopes": {
"https://graph.microsoft.com": [
"AdministrativeUnit.Read.All",
"AdministrativeUnit.ReadWrite.All",
"Directory.Read.All",
"User.Read",
"User.ReadBasic.All",
"profile",
"openid",
"email"
]
}
}
Additional Info
No response
Priority
(Medium) I'm annoyed but I'll live
Description
When an option is required but long name option is typed with only one
-then no error is thrown.Steps to reproduce
Let's say the
m365 aad m365group getcommand requires theidoptionm365 aad m365group get=> prompts user to specifyidm365 aad m365group get --id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9=> return the resultm365 aad m365group get -id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9=> do nothing, no result, no prompt, no errorIt seems to be a general issue for all commands.
Expected results
m365 aad m365group get -id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9=> throws errorActual results
m365 aad m365group get -id 619701a2-4bdc-494a-a9dd-9d3aeebcafd9=> do nothing, no result, no prompt, no errorDiagnostics
nothing in the output when using the
--debugoptionCLI for Microsoft 365 version
v7.2.0
nodejs version
v18.18.2
Operating system (environment)
Windows
Shell
Other
cli doctor
Additional Info
No response