diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-08-07 14:14:47 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-08-07 14:14:47 +0100 |
commit | 200e2f0328b6cfc6965d5399d7750df19eec6144 (patch) | |
tree | 147de793fd1a02eafbadbdd667a848bca074543b /scorsh.sh | |
parent | b31fe15e0d13f9064e26b117541633496c0c3307 (diff) |
completed refactoring from tags to commands0.3
Diffstat (limited to 'scorsh.sh')
-rwxr-xr-x | scorsh.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,7 +7,7 @@ ## func build_command(){ - TAG=$1 + CMD=$1 shift ARGS=$@ @@ -22,7 +22,7 @@ build_command(){ scorsh: [ { - s_tag: "$TAG", + s_cmd: "$CMD", s_args: [${ARGLIST}] } ] @@ -34,7 +34,7 @@ EOF if [ $# -le 0 ]; then - echo "Usage: $0 <tag> [<arg>...]" + echo "Usage: $0 <cmd> [<arg>...]" exit 1 fi |