aboutsummaryrefslogtreecommitdiff
path: root/node_modules/shelljs/shell.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/shelljs/shell.js')
-rw-r--r--node_modules/shelljs/shell.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/node_modules/shelljs/shell.js b/node_modules/shelljs/shell.js
index f155f3d3a..2541a2036 100644
--- a/node_modules/shelljs/shell.js
+++ b/node_modules/shelljs/shell.js
@@ -103,14 +103,16 @@ exports.config = common.config;
//@ ```javascript
//@ config.verbose = true; // or set('-v');
//@ cd('dir/');
-//@ ls('subdir/');
+//@ rm('-rf', 'foo.txt', 'bar.txt');
+//@ exec('echo hello');
//@ ```
//@
//@ Will print each command as follows:
//@
//@ ```
//@ cd dir/
-//@ ls subdir/
+//@ rm -rf foo.txt bar.txt
+//@ exec echo hello
//@ ```
//@