summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2015-06-23 18:52:29 +0800
committerXuefer <xuefer@gmail.com>2015-07-03 13:02:03 +0800
commit4e5cb618a40dd24c2ee9f66a43524196e71941ae (patch)
tree01ac10de06ed8cff9d3f5afeb05e160ba41e77ec /devel
parent3f3d56cfd29df8ed4f134eb80673dc32b507ea75 (diff)
downloadxcache-4e5cb618a40dd24c2ee9f66a43524196e71941ae.tar.gz
xcache-4e5cb618a40dd24c2ee9f66a43524196e71941ae.zip
Decompiler: add support for "run dboth" = both decompile and dump
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/run8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/run b/devel/run
index e79b450..000ccbd 100755
--- a/devel/run
+++ b/devel/run
@@ -310,11 +310,17 @@ run() {
cmd=(./php-cli -c devel.ini)
phpApp=(./bin/phpdc.phpr)
;;
+ dboth)
+ shift
+ cmd=(./php-cli -c devel.ini)
+ phpApp=(./bin/phpdc.phpr)
+ set -- -c -d "$@"
+ ;;
dop)
shift
cmd=(./php-cli -c devel.ini)
phpApp=(./bin/phpdc.phpr)
- set -- -d "$@"
+ set -- -c -d "$@"
;;
fcgi)
shift