hexdump: Fix parse format of "byte count without repetition count"
zramctl: fix typo

Signed-off-by: Karel Zak <kzak@redhat.com>
Merge branch 'master' of https://github.com/entertainyou/util-linux
docs: add details to zramctl --size option documentation

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: mark --reset mutually exclusive with --algorithm and --streams

Reset is setting algorithm to lz4 and streams to 1.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: fail status printout when device does not exist

Earlier.

$ zramctl zram313 ; echo $?
0

Now.

$ zramctl zram313 ; echo $?
zramctl: zram313: no such device
1

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: improve error message

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: fix mount point printout

This change adds full path to the device name when status is requested
using a short device name, such as zram3.  See sample below how a device
mount point was printed earlier without and with full device path.

$ zramctl zram3
NAME  ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
zram3 lz4             1M   4K   62B    4K       1

$ zramctl /dev/zram3
NAME       ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram3 lz4             1M   4K   62B    4K       1 [SWAP]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: add bash completion script

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: improve option combination error messaging

Use of --algorithm or --streams is not expected to work without
reseting device, that happens when --size is specified, so ensure the
former options to be combined with the later.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>