summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phmain.c')
-rw-r--r--src/phmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phmain.c b/src/phmain.c
index 2205ceb..cbba88e 100644
--- a/src/phmain.c
+++ b/src/phmain.c
@@ -245,6 +245,10 @@ int main( int argc, char **argv )
}
else if((strcmp(argv[i],"/nosetlocale")==0) || (strcmp(argv[i],"-nosetlocale")==0))
run_setlocale=0;
+ else if(i+1 <= argc && strcmp(argv[i],"/cmd")==0 && strcmp(argv[i+1],"resume")==0)
+ {
+ params.cmd_device=argv[++i];
+ }
else if(strcmp(argv[i],"/cmd")==0)
{
if(i+2>=argc)