From 131114663758f809f729830aeed93db454a6604b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 10 Feb 2014 19:46:35 -0500 Subject: [PATCH] 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. --- bin/confetty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/confetty b/bin/confetty index d57026e3..1ab7ee9b 100755 --- a/bin/confetty +++ b/bin/confetty @@ -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: