E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py -logpath
Dir to output: ''.
Dir to clean: '-logpath'.
Error: dir to clean doesn't exist.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py a
Dir to output: ''.
Dir to clean: 'a'.
Error: dir to clean doesn't exist.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py b f
Error: must specify only one dir to clean.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py b f b
Error: must specify only one dir to clean.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py
Usage: [--todir dir] dir.
Usage: --logpath.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py -
Dir to output: ''.
Dir to clean: '-'.
Error: dir to clean doesn't exist.
Example of the expected reaction.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py -logpath
Error: unsupported option.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py a
Error: invalid argument.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py b f
Error: must specify '--todir' option.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py b f b
Error: must specify '--todir' option. (Or invalid arguments.)
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py
Usage: [--todir dir] dir.
Usage: --logpath.
E:\!Plan9\dev\languages\python\ffcleaner>ffcleaner.py -
Error: invalid argument.
It's looks like something strange.
Example of the expected reaction.