diff --git a/clite/commands.js b/clite/commands.js index 9fd0517..ab256d6 100644 --- a/clite/commands.js +++ b/clite/commands.js @@ -77,11 +77,34 @@ Options: clite.commands.load('cat',function(args,env,io) { var files = []; + var download = false; var pending = 0; + function help() { + io.write(` +Usage: cat [OPTION] [FILE] + +Options: +-? Print this help information +-d Download the file data, instead of printing it + `); + } + for (var i=1; i