aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rwxr-xr-xtools/may_execute_command.sh4
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 9bcb735..26693d5 100644
--- a/README.md
+++ b/README.md
@@ -82,11 +82,11 @@ Create a new bashscript in the [./tools/](./tools/) directory (.e.g. `may_execut
#!/usr/bin/env bash
set -e
-# @describe Executes a shell command.
-# @option --command~ Command to execute, such as `ls -la`
+# @describe Runs a shell command.
+# @option --command! The command to execute.
main() {
- eval $argc_shell_command
+ eval "$argc_command"
}
eval "$(argc --argc-eval "$0" "$@")"
@@ -109,7 +109,7 @@ The relationship between comment tags and parameters in function declarations is
### Javascript
-Create a new javascript in the [./tools/](./tools/) directory (.e.g. `may_execute_command.js`).
+Create a new javascript in the [./tools/](./tools/) directory (.e.g. `may_execute_js_code.js`).
```js
exports.declarate = function declarate() {
diff --git a/tools/may_execute_command.sh b/tools/may_execute_command.sh
index 5aad4a3..6acc021 100755
--- a/tools/may_execute_command.sh
+++ b/tools/may_execute_command.sh
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
set -e
-# @describe Executes a shell command.
-# @option --command! Command to execute, such as `ls -la`
+# @describe Runs a shell command.
+# @option --command! The command to execute.
main() {
eval "$argc_command"