firetower icon indicating copy to clipboard operation
firetower copied to clipboard

Disallow null or invalid directory name

Open Codher15 opened this issue 9 years ago • 0 comments

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.

Codher15 avatar Mar 06 '17 15:03 Codher15