Experiment with the goal to make getting of a command template more
commit2d8e62e2c57c07432619d66483cce1956dbfded1
authormazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 7 Sep 2012 20:32:28 +0000 (7 20:32 +0000)
committermazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 7 Sep 2012 20:32:28 +0000 (7 20:32 +0000)
treefe7ca418c5f8a8d890db1a3feb38f44dc63e3519
parent82f4751b8b9f64974a829fef6090dc0781b07e27
Experiment with the goal to make getting of a command template more
reliable. Problem with "*>NIL:" is that it works only if "*>NIL:" is
recognized as an error by the command.

dos/ReadArgs(): if ReadArgs() gets "!GETTEMPLATE!" as argument it prints
the template and exits with an error code.

C:R: make use of that feature.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45746 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/dos/readargs.c
workbench/c/R/main.c