ceph/qa/workunits
Sage Weil f988b2a833 ceph: make -h/--help show match when some args are supplied
Currently,

 # ceph orch ls -h
 ...
 orch ls [<service_type>] [<service_name>] [--export] [--  List services known to orchestrator
  format {plain|json|json-pretty|yaml}] [--refresh]
 # ceph orch ls osd -h
 ... nothing ...

because the CLI is provided more arguments than the command prefix.  Make
-h drop right-hand args until we get at least one prefix match.  This
means we can have a partial command written with some args and add -h to
get a usage for that command.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-10 16:30:47 -05:00
..
caps
ceph-tests
cephadm Merge pull request #42821 from rhcs-dashboard/force-maintenance-workflow 2021-09-29 13:36:45 +02:00
cephtool ceph: make -h/--help show match when some args are supplied 2021-11-10 16:30:47 -05:00
client
cls
direct_io
erasure-code
fs qa: Add mypy to make check 2021-07-02 10:35:18 +02:00
hadoop
libcephfs
mgr
mon qa/workunits/mon/pool_ops: remove test for min/max_size check 2021-07-07 13:06:07 -04:00
objectstore
osdc
rados qa/suites/rados: add crushdiff test 2021-08-27 17:45:40 +03:00
rbd qa/workunits/rbd: test map/attach with --show-cookie/--cookie options 2021-10-26 19:24:13 +05:30
rename
rest qa: Upgrade to mypy 0.901 2021-06-09 12:53:21 +02:00
restart
rgw workunits/rgw: semicolon terminates perl statements 2021-09-14 17:13:49 -04:00
suites qa: update the ffsb.sh to clone it from git://git.ceph.com/ffsb.git 2021-05-06 14:00:45 +08:00
ceph-helpers-root.sh qa: Add SoftIron Linux as valid debian-based distro in test scripts 2021-07-15 07:16:59 -04:00
false.sh
kernel_untar_build.sh
Makefile
post-file.sh
true.sh