[procps] [pull] long options, usages & man page alignments

  • From: Sami Kerola <kerolasa@xxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Mon, 3 Oct 2011 22:02:53 +0200

Good evening,

The style-fixes branch is ready for review.  Without any doubt the
`ps' help function output is lengthy. Perhaps only the options that
are assumed to be interesting should be listed, but whom I am to tell
a person what he should be interested of? Never the less the 85 lines
long help simply looks and feels wrong. Proposal to make that better
are welcome. Everything else should be quite straight forward, and
unless you don't count few Finglishisms hidden somewhere.

There has been some talks about releasing soon, and these patches may,
or may not, be part of that release. If deciding rationally feels
laborsome please flip a coin. BTW knowing goal shipping date would be
great, that would allow me to plan a bit when, and what sort of, patch
sets to send.


The following changes since commit b9a408372e83b0b0c2d74db1ae6593d3b0f0308b:

  Merge branch 'master', remote-tracking branch 'sami/ng' (2011-10-01
23:23:30 +1000)

are available in the git repository at:

  git://gitorious.org/~kerolasa/procps/sami-procps-ng.git style-fixes

Sami Kerola (26):
      pwdx.c: new usage & fix coding style
      slabtop: new usage & fix coding style
      uptime: new usage & fix coding style
      tload: new usage & fix coding style
      include/devname.h: add missing header
      w: new usage & fix coding style
      watch: new usage & fix coding style
      pmap: new usage & fix coding style
      sysctl: options handling & usage output
      docs: mention long options in man pwdx.1
      docs: small nroff fixes to man slabtop.1
      docs: mention long options in man uptime.1
      docs: mention long options in man tload.1
      docs: mention long options in man w.1
      docs: mention long options in man watch.1
      docs: mention long options in man pmap.1
      docs: mention long options in man sysctl.8
      free: do not mix declarations and code [smatch scan]
      pgrep: add long options & new usage
      docs: mention long options in man pgrep.1
      docs: fix free.1 groff syntax
      vmstat: add long options & new usage function
      docs: mention long options in man vmstat.8
      skill: new usage function
      docs: clean up kill and skill man pages
      ps: new usage function

 free.1          |   91 ++++---
 free.c          |    2 +-
 kill.1          |  135 +++++------
 pgrep.1         |  255 +++++++++++---------
 pgrep.c         |   85 ++++++--
 pmap.1          |   53 +++--
 pmap.c          |  719 +++++++++++++++++++++++++++++-------------------------
 proc/devname.h  |    1 +
 proc/readproc.h |    1 +
 ps/common.h     |    2 +-
 ps/help.c       |  122 +++++++---
 ps/parser.c     |    8 +-
 pwdx.1          |   45 ++--
 pwdx.c          |  148 ++++++------
 skill.1         |  185 +++++++--------
 skill.c         |  109 +++++----
 slabtop.1       |   45 ++--
 slabtop.c       |  142 ++++++------
 sysctl.8        |   95 ++++----
 sysctl.c        |  209 +++++++++-------
 tload.1         |   57 +++--
 tload.c         |  268 ++++++++++++---------
 uptime.1        |   59 +++--
 uptime.c        |   52 +++-
 vmstat.8        |  182 ++++++++-------
 vmstat.c        |   71 ++++--
 w.1             |   99 ++++----
 w.c             |  588 ++++++++++++++++++++++++++-------------------
 watch.1         |   73 +++---
 watch.c         |  223 +++++++++---------
 30 files changed, 2274 insertions(+), 1850 deletions(-)

-- 
   Sami Kerola
   http://www.iki.fi/kerolasa/

Other related posts: