Report to STDOUT by default, reintroduce the -d, --dump switch
A message that is not in the archive (sent off-list or not yet received): [email protected]
Jaroslav Skarvada
Hi,
I think it would be useful if PowerTOP could by default write reports to STDOUT (the output could be easily filtered through pipes).
I proposed patch [1], which:
- makes the filename argument of CSV, HTML reports optional (was previously mandatory), if it is not specified it outputs to STDOUT
- reintroduced the old -d, --dump switch, which writes report in plain text (which could be also useful and at least keeps user interface backward compatibility with powertop 1.x)
thanks & regards
Jaroslav