]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: zap needs at least one device
authorLoic Dachary <loic@dachary.org>
Sun, 15 Dec 2013 14:34:17 +0000 (15:34 +0100)
committerAlfredo Deza <alfredo@deza.pe>
Wed, 12 Feb 2014 21:17:11 +0000 (16:17 -0500)
commit2e8496a6e0b74ff351bc2a4f138ddc665d8c30ca
tree6ddcb028d565edca73185410444a6f13448bbb0f
parent0fe2ac47a82d3caa9dca2a9009b68a14b577e35c
ceph-disk: zap needs at least one device

If given no argument, ceph-disk zap should display the usage instead of
silently doing nothing. Silence can be confused with "I zapped all the
disks".

http://tracker.ceph.com/issues/6981 fixes #6981

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 07888ef3fd4440332c8287d0faa9f23a32cf141c)
src/ceph-disk