### ImageMagick version

7.1.1.33

### Operating system

Linux

### Operating system, version and so on

Arch Linux

### Description

This works:  
`magick -delay 50 "./*.jpg" -verbose -loop 0 -resize 100% -auto-orient "test.mp4"`

This is broken:  
`magick "./*.jpg" -verbose -delay 50 -loop 0 -resize 100% -auto-orient "test.mp4"`

This second *delay* is also broken:  
`magick -delay 15 -loop 0 "./test/*.jpg" -delay 5000 -verbose -resize 25% -auto-orient "test.gif"`

Imagemagick should not allow user to misuse parameters like this, at least not silently. It ends up being thrown out leaving the person confused.

### Steps to Reproduce

```bash
magick "./${dirname}/*.jpg" -verbose -delay 50 -loop 0 -resize 100% -auto-orient "${dirname}.mp4"
```

```bash
./Inside_2024/IMG_20240426_115951.jpg=>/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG0.webp JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 3.98732MiB 1.090u 0:01.102
./Inside_2024/IMG_20240427_155647.jpg=>/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG1.webp[1] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 3.97251MiB 1.090u 0:01.100
./Inside_2024/IMG_20240428_154301.jpg=>/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG2.webp[2] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 3.914MiB 1.080u 0:01.101
...
'ffmpeg' -nostdin -loglevel error -i '/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG%d.webp' -plays 0 '/tmp/magick-Isw41GuDV950N8lhtp8SLzwmLzUTmEeC.MP4'
./Inside_2024/IMG_20240426_115951.jpg=>Inside_2024.mp4[0] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 4.50744MiB 36.470u 0:46.645
```

```bash
magick -delay 50 "./${dirname}/*.jpg" -verbose -loop 0 -resize 100% -auto-orient "${dirname}.mp4"
```
```bash
./Inside_2024/IMG_20240426_115951.jpg=>Inside_2024.mp4[0] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 4.50744MiB 38.970u 2:20.337
Outside_Pots_2024
./Outside_Pots_2024/IMG_20240508_130216.jpg=>/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE20.webp JPEG 4160x3120 4160x3120+0+0 8-bit sRGB 4.32583MiB 1.110u 0:01.150
./Outside_Pots_2024/IMG_20240509_101307.jpg=>/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE250.webp[50] JPEG 4160x3120 4160x3120+0+0 8-bit sRGB 4.26536MiB 1.130u 0:01.173
./Outside_Pots_2024/IMG_20240510_111517.jpg=>/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE2100.webp[100] JPEG 4160x3120 4160x3120+0+0 8-bit sRGB 4.2215MiB 1.100u 0:01.136
...
'ffmpeg' -nostdin -loglevel error -i '/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE2%d.webp' -plays 0 '/tmp/magick-zGdd-MOqM6x7gLEHEIFlvso1B7seAIns.MP4'
```

### Images

_No response_
Positional parameters like `-delay` are silently ignored when mispositioned
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Positional parameters like `-delay` are silently ignored when mispositioned
Issue date:

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

7.1.1.33

### Operating system

Linux

### Operating system, version and so on

Arch Linux

### Description

This works:  
`magick -delay 50 "./*.jpg" -verbose -loop 0 -resize 100% -auto-orient "test.mp4"`

This is broken:  
`magick "./*.jpg" -verbose -delay 50 -loop 0 -resize 100% -auto-orient "test.mp4"`

This second *delay* is also broken:  
`magick -delay 15 -loop 0 "./test/*.jpg" -delay 5000 -verbose -resize 25% -auto-orient "test.gif"`

Imagemagick should not allow user to misuse parameters like this, at least not silently. It ends up being thrown out leaving the person confused.

### Steps to Reproduce

```bash
magick "./${dirname}/*.jpg" -verbose -delay 50 -loop 0 -resize 100% -auto-orient "${dirname}.mp4"
```

```bash
./Inside_2024/IMG_20240426_115951.jpg=>/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG0.webp JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 3.98732MiB 1.090u 0:01.102
./Inside_2024/IMG_20240427_155647.jpg=>/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG1.webp[1] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 3.97251MiB 1.090u 0:01.100
./Inside_2024/IMG_20240428_154301.jpg=>/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG2.webp[2] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 3.914MiB 1.080u 0:01.101
...
'ffmpeg' -nostdin -loglevel error -i '/tmp/magick-Coh3powa6s6kOvi9n334lWeyaCSWUWkG%d.webp' -plays 0 '/tmp/magick-Isw41GuDV950N8lhtp8SLzwmLzUTmEeC.MP4'
./Inside_2024/IMG_20240426_115951.jpg=>Inside_2024.mp4[0] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 4.50744MiB 36.470u 0:46.645
```

```bash
magick -delay 50 "./${dirname}/*.jpg" -verbose -loop 0 -resize 100% -auto-orient "${dirname}.mp4"
```
```bash
./Inside_2024/IMG_20240426_115951.jpg=>Inside_2024.mp4[0] JPEG 4160x3120=>3120x4160 3120x4160+0+0 8-bit sRGB 4.50744MiB 38.970u 2:20.337
Outside_Pots_2024
./Outside_Pots_2024/IMG_20240508_130216.jpg=>/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE20.webp JPEG 4160x3120 4160x3120+0+0 8-bit sRGB 4.32583MiB 1.110u 0:01.150
./Outside_Pots_2024/IMG_20240509_101307.jpg=>/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE250.webp[50] JPEG 4160x3120 4160x3120+0+0 8-bit sRGB 4.26536MiB 1.130u 0:01.173
./Outside_Pots_2024/IMG_20240510_111517.jpg=>/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE2100.webp[100] JPEG 4160x3120 4160x3120+0+0 8-bit sRGB 4.2215MiB 1.100u 0:01.136
...
'ffmpeg' -nostdin -loglevel error -i '/tmp/magick-qgmmWHf6qk3YIEeKcQM7CYd8w9Q9qrE2%d.webp' -plays 0 '/tmp/magick-zGdd-MOqM6x7gLEHEIFlvso1B7seAIns.MP4'
```

### Images

_No response_
--- end body ---
