]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
bash_completion: no more injectargs command
authorSage Weil <sage.weil@dreamhost.com>
Tue, 26 Jul 2011 21:17:08 +0000 (14:17 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 26 Jul 2011 21:17:08 +0000 (14:17 -0700)
Use 'ceph [osd|mds|mon] tell injectargs "foo bar"'.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/Makefile.am
src/bash_completion/ceph

index d9a3be2e9e5151f0ee06b63fcf76945bb64100e1..a14c00bba57fb19137d455b31daa133901957716 100644 (file)
@@ -867,7 +867,7 @@ noinst_HEADERS = \
        bash_completion/ceph\
        bash_completion/rados\
        bash_completion/rbd\
-       bash_completion/radosgw_admin
+       bash_completion/radosgw_admin\
        client/Client.h\
         client/SyntheticClient.h\
         client/Trace.h\
index f7ec55b0948eef3016c1c5c8d7932cadfa1b3833..cec2b852e5b945267e98bc2d8b944f3cc0c9c562 100644 (file)
@@ -40,15 +40,15 @@ _ceph()
                 return 0
                 ;;
             osd)
-                COMPREPLY=( $(compgen -W "tell stat injectargs pool dump getmaxosd tree getmap getcrushmap lspools" -- ${cur}) )
+                COMPREPLY=( $(compgen -W "tell stat pool dump getmaxosd tree getmap getcrushmap lspools" -- ${cur}) )
                 return 0
                 ;;
             mon)
-                COMPREPLY=( $(compgen -W "tell stat injectargs getmap" -- ${cur}) )
+                COMPREPLY=( $(compgen -W "tell stat getmap" -- ${cur}) )
                 return 0
                 ;;
             mds)
-                COMPREPLY=( $(compgen -W "tell stat injectargs stat getmap dump compat" -- ${cur}) )
+                COMPREPLY=( $(compgen -W "tell stat stat getmap dump compat" -- ${cur}) )
                 return 0
                 ;;
             *)