mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
Add some likely aliases for 'show'
If someone starts thinking of it as a filesystem, be obliging. That means some people might want to 'dir', some people might want to 'cat' things. Make it tend to do the right thing.
This commit is contained in:
parent
5c0d64d17a
commit
1311146637
@ -105,7 +105,7 @@ def do_command(command, server):
|
||||
if 'error' in res:
|
||||
print target + ': ' + res['error']
|
||||
target = otarget
|
||||
if argv[0] in ('show', 'ls'):
|
||||
if argv[0] in ('cat', 'show', 'ls', 'dir'):
|
||||
if len(argv) > 1:
|
||||
targpath = fullpath_target(argv[1])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user