]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: Add error message for invalid ls commands 28652/head
authorVarsha Rao <varao@redhat.com>
Wed, 19 Jun 2019 10:43:46 +0000 (16:13 +0530)
committerroot <root@localhost.localdomain>
Wed, 31 Jul 2019 18:29:40 +0000 (23:59 +0530)
commitb98242173aa0f44aff0bae3baa70aa2c13e457c2
treec73a68912bcae0a76385d81198c1f00532618e4f
parenta8840f6d97e751d3979cd2b64d4a71a1181e31df
cephfs-shell: Add error message for invalid ls commands

This patch prints the following error message on invalid ls command:

CephFS:~/>>> ls
t/   u/   y
CephFS:~/>>> ls k
k: no such directory exists

Fixes: https://tracker.ceph.com/issues/40430
Signed-off-by: Varsha Rao <varao@redhat.com>
src/tools/cephfs/cephfs-shell