Skip to content

--help with other arguments makes directories #285

Description

@makesthingsxyz

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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