这是indexloc提供的服务,不要输入任何密码
Skip to content

--help with other arguments makes directories #285

@wasv

Description

@wasv

When running mkrc with --help after a filename, the mv help is prefixed and directories are created in the .dotfiles directory (.rcm in my case) with the directory names being the text of the dirname usage message.

This is clearly not intended behavior, though it was a rather amusing bug to find. This is hopefully an easy fix, if not maybe I'll have time to take a look and open a PR someday.

Attached is a terminal log of the issue.
lol-rcm.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions