Skip to content

Disallow null or invalid directory name #12

@Codher15

Description

@Codher15

In the present code of firetower, if a null string is entered in the -d or --directory command, then it defaults it to the current directory. Modify the code so that if in case a null string is passed in these arguments as directory, then it calls usage and in case of an invalid directory an error message saying "not a directory" is displayed along with call to usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions