## Problem statement When using `swagger generate markdown` with the `--output` and `--target` parameters specified, the `--target` will be ignored. ## Steps to reproduce Presumes you have a valid swagger spec at `swagger.yml` `mkdir subdir` `swagger generate markdown --target subdir -f swagger.yml` Generates `subdir/markdown.md` (in subdirectory) as expected `swagger generate markdown --output API.md -f swagger.yml` Generates `API.md` in the current directory as expected `swagger generate markdown --output API.md --target subdir -f swagger.yml` Generates `API.md` in the current directory (ignoring `--target`) ## Environment swagger version: v0.30.4 commit: df6da9b77aa9751f06bedb17fcf92b1ab67a7a47 go version go1.19.8 linux/amd64 OS: Fedora 37 Workstation