Changes are recorded below:
- change the default output to be the full set of data, while before is limited to the first 10 modules:
- change the default end date to the day before the query date. (since the current date's statistics will not be available till the end of the day); so as when the given end date is beyond the current date.
- add a print_header function to simplify and generalize each output function call.
- rewrite the loop to make the count data calculation and storage more coherent among different sort methods.
- add support to '-u', '-p' and '-m' options
- modify the README.md to reflect the change and add some new command examples.