]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blockdev: add --help option
authorSami Kerola <kerolasa@iki.fi>
Wed, 29 Jun 2011 20:44:35 +0000 (22:44 +0200)
committerSami Kerola <kerolasa@iki.fi>
Wed, 29 Jun 2011 22:21:21 +0000 (00:21 +0200)
commitbded204c49951e1412fe9b4c6bc1ba9ba62d0b7d
treeec1333a641ec51384dfd5037b3bf9d047a26b0d8
parentcc4d8d72061648c8f93a83ebba840d26581a7c1b
blockdev: add --help option

The option is also accepted in format `-h'. As a side effect
usage function is now able to return success, and since it had to
be touched the printing is cleaned up.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
disk-utils/blockdev.c