cpulimit icon indicating copy to clipboard operation
cpulimit copied to clipboard

Why not include usage doc in README?

Open vikyd opened this issue 6 years ago • 2 comments

command:

./cpulimit -h 

ouput:

Usage: cpulimit [OPTIONS...] TARGET
   OPTIONS
      -l, --limit=N          percentage of cpu allowed from 0 to 800 (required)
      -v, --verbose          show control statistics
      -z, --lazy             exit if there is no target process, or if it dies
      -i, --include-children limit also the children processes
      -h, --help             display this help and exit
   TARGET must be exactly one of these:
      -p, --pid=N            pid of the process (implies -z)
      -e, --exe=FILE         name of the executable program file or path name
      COMMAND [ARGS]         run this command and limit it (implies -z)

Report bugs to <[email protected]>.

Why not include this usage doc in README?

vikyd avatar Aug 02 '18 06:08 vikyd

I guess, to avoid duplication. If the info is in two places, you need to synchronize them.

beroal avatar Dec 28 '18 20:12 beroal

Maybe a reference to where to find the usage info then might be an adequate solution?

jvimedia avatar Apr 21 '19 14:04 jvimedia