From: Ruediger Meier <sweet_f_a@gmx.de>
To: util-linux@vger.kernel.org
Subject: [PATCH 00/13] usage cleanup part 1
Date: Thu, 22 Jun 2017 04:37:33 +0200 [thread overview]
Message-ID: <1498099066-24235-1-git-send-email-sweet_f_a@gmx.de> (raw)
From: Ruediger Meier <ruediger.meier@ga-group.nl>
This is pull request #467 on github
https://github.com/karelzak/util-linux/pull/467
The major goal is to avoid printing usage/help messages on stderr.
This is the preparing first part of a bigger patch-set. There are
some minor bug fixes and finally we add --help options to all our
commands (just 5 commands were missing it).
The next completing patch-set (part 2) will be more invasive but
even more trivial.
Ruediger Meier (13):
uuidd: remove unused define
misc: remove superfluous null pointer checks for optarg
misc: fix some broken exit codes
blkid: use errtryhelp instead of errtryh
dmesg: do not accept any non-option arguments
setarch: print usage error if no argument given
setarch: use errtryhelp()
fsck: add --help and --version
login: add --help and --version
whereis: add --help and --version
more: add --help and --version
mkfs.cramfs: add --help and --version
misc: no more errtryh()
disk-utils/fsck.8 | 6 ++++++
disk-utils/fsck.c | 29 +++++++++++++++++++++--------
disk-utils/fsck.cramfs.c | 2 +-
disk-utils/mkfs.cramfs.8 | 8 ++++----
disk-utils/mkfs.cramfs.c | 35 ++++++++++++++++++++++++-----------
include/c.h | 6 ------
login-utils/chsh.c | 2 --
login-utils/login.1 | 5 ++++-
login-utils/login.c | 28 ++++++++++++++++++++++------
login-utils/lslogins.c | 15 ++++++---------
misc-utils/blkid.c | 8 ++++----
misc-utils/findfs.c | 4 ++--
misc-utils/test_uuidd.c | 25 ++++++++++++++-----------
misc-utils/uuidd.c | 6 ------
misc-utils/whereis.1 | 6 ++++++
misc-utils/whereis.c | 48 +++++++++++++++++++++++++++++++++++-------------
sys-utils/dmesg.c | 4 +---
sys-utils/setarch.c | 22 ++++++----------------
text-utils/hexdump.c | 2 +-
text-utils/more.1 | 6 ++++++
text-utils/more.c | 29 ++++++++++++++++++++++-------
21 files changed, 185 insertions(+), 111 deletions(-)
--
1.8.5.6
next reply other threads:[~2017-06-22 2:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-22 2:37 Ruediger Meier [this message]
2017-06-22 2:37 ` [PATCH 01/13] uuidd: remove unused define Ruediger Meier
2017-06-22 2:37 ` [PATCH 02/13] misc: remove superfluous null pointer checks for optarg Ruediger Meier
2017-06-22 2:37 ` [PATCH 03/13] misc: fix some broken exit codes Ruediger Meier
2017-06-22 20:49 ` Ruediger Meier
2017-06-22 2:37 ` [PATCH 04/13] blkid: use errtryhelp instead of errtryh Ruediger Meier
2017-06-22 2:37 ` [PATCH 05/13] dmesg: do not accept any non-option arguments Ruediger Meier
2017-06-22 2:37 ` [PATCH 06/13] setarch: print usage error if no argument given Ruediger Meier
2017-06-22 8:38 ` Karel Zak
2017-06-22 8:44 ` Ruediger Meier
2017-06-22 2:37 ` [PATCH 07/13] setarch: use errtryhelp() Ruediger Meier
2017-06-22 2:37 ` [PATCH 08/13] fsck: add --help and --version Ruediger Meier
2017-06-22 2:37 ` [PATCH 09/13] login: " Ruediger Meier
2017-06-22 8:42 ` Karel Zak
2017-06-22 2:37 ` [PATCH 10/13] whereis: " Ruediger Meier
2017-06-22 2:37 ` [PATCH 11/13] more: " Ruediger Meier
2017-06-22 2:37 ` [PATCH 12/13] mkfs.cramfs: " Ruediger Meier
2017-06-22 2:37 ` [PATCH 13/13] misc: no more errtryh() Ruediger Meier
2017-06-26 13:04 ` [PATCH 00/13] usage cleanup part 1 Rüdiger Meier
2017-06-26 14:07 ` Karel Zak
2017-06-26 14:44 ` Rüdiger Meier
2017-06-26 20:37 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1498099066-24235-1-git-send-email-sweet_f_a@gmx.de \
--to=sweet_f_a@gmx.de \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).