rednammoc / cd

Extending linux builtin cd command with traverseable history.
1 stars 0 forks source link

Fix cd_stats arguments. #2

Closed rednammoc closed 10 years ago

rednammoc commented 10 years ago

The supplied arguments to cd_stats are a bit messy. It may be better to use getopts instead of the clumbersome argument-parsing.

This will result in a fresh interface: cd_stats -tc file cd_stats -t file

... and in errors when wrong argument-combinations are supplied:

ERROR: Prefixing lines with number of occurences without showing the list.

cd_stats -c file