Re: [cpupower] RFC: use man(1) when calling "cpupower help subcommand"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Saturday 06 August 2011 18:11:43 Dominik Brodowski wrote:
> Instead of printing something non-formatted to stdout, call
> man(1) to show the man page for the proper subcommand.

> -extern void set_help(void);
> -extern void info_help(void);
> -extern void freq_set_help(void);
> -extern void freq_info_help(void);
> -extern void idle_info_help(void);
> -extern void monitor_help(void);
I wonder whether these are still needed then.
If they can get removed translations, maintenance overhead
(adjusting 2 places when adding a parameter) and the size of the 
binaries could get reduced.

Not tested yet, but I'll give it a try later.

To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux