### ImageMagick version

7.1.1-15 Q16-HDRI x64

### Operating system

Windows

### Operating system, version and so on

Windows 10 Pro x64 Version 22H2 (Build 19045.3448)

### Description

I'm just using a simple `-trim` command:

`magick -trim .\outlook.png outlook-after.png`

But I'm getting the following error:

`magick.exe: no images found for operation `-trim' at CLI arg 1 @ error/operation.c/CLIOption/5470.` 

I'm not understanding why this isn't working?

Any help would be great.

### Steps to Reproduce

1. Place a couple PNGs in a folder.
2. Navigate to that folder in the console (Pwsh / Cmd)
3. Type `magick -trim image-input.png image-output.png` where `image-input.png` is the name of one of the files in the folder.
4. Observe the errror: `magick.exe: no images found for operation `-trim' at CLI arg 1 @ error/operation.c/CLIOption/5470.`

### Images

Screen recording:

![pwsh_JI8cNw6d5M](https://github.com/ImageMagick/ImageMagick/assets/33441569/b2d85b4c-1828-4348-94d8-b9222c9b6c94)

"magick.exe: no images found for operation `-trim' at CLI arg 1." The image exists and was passed properly.
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : "magick.exe: no images found for operation `-trim' at CLI arg 1." The image exists and was passed properly.
Issue date:

--- start body ---
### ImageMagick version

7.1.1-15 Q16-HDRI x64

### Operating system

Windows

### Operating system, version and so on

Windows 10 Pro x64 Version 22H2 (Build 19045.3448)

### Description

I'm just using a simple `-trim` command:

`magick -trim .\outlook.png outlook-after.png`

But I'm getting the following error:

`magick.exe: no images found for operation `-trim' at CLI arg 1 @ error/operation.c/CLIOption/5470.` 

I'm not understanding why this isn't working?

Any help would be great.

### Steps to Reproduce

1. Place a couple PNGs in a folder.
2. Navigate to that folder in the console (Pwsh / Cmd)
3. Type `magick -trim image-input.png image-output.png` where `image-input.png` is the name of one of the files in the folder.
4. Observe the errror: `magick.exe: no images found for operation `-trim' at CLI arg 1 @ error/operation.c/CLIOption/5470.`

### Images

Screen recording:

![pwsh_JI8cNw6d5M](https://github.com/ImageMagick/ImageMagick/assets/33441569/b2d85b4c-1828-4348-94d8-b9222c9b6c94)

--- end body ---
