vlsi / ksar

A sar grapher, fork of http://sourceforge.net/projects/ksar/
Other
245 stars 59 forks source link

Improve the command line interface #316

Closed masatake closed 2 months ago

masatake commented 2 months ago

The -input option is handy. However, the -help option doesn't work, so there is no way to know about it.

I wonder whether we should use Logger to print the help message. System.out.print... or System.err.print... looks better to me. This is my first time writing a program in Java. I am not familiar with the conventions and culture of the language.

Anyway, better than nothing.

masatake commented 2 months ago

I added --help and -h options, doing the same as the -help option.

masatake commented 2 months ago

Ping

Pitterling commented 2 months ago

We have a long lasting issue for CLI.. the idea was to move it to something like picocli..

see https://github.com/vlsi/ksar/issues/164