diff options
| author | megazig <megazig@megazig-desktop.(none)> | 2009-04-26 01:32:57 -0500 |
|---|---|---|
| committer | megazig <megazig@megazig-desktop.(none)> | 2009-04-26 01:32:57 -0500 |
| commit | fc040d5e8d8af229180321964f623fa1951fd98e (patch) | |
| tree | 99563719207d559088cf38238198a819abceccea /main.c | |
| parent | a1775b675a4f8e029297d3b69ac39f3029209906 (diff) | |
added p and w
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -113,7 +113,7 @@ if(type == 1) printf("Invalid arguments. Use like:\n\t%s\n\t\tor:\n\t%s\n", helpstrread, helpstrmake); exit(1); } - if(argv[1][0] == 'r') { + if((argv[1][0] == 'r') || (argv[1][0] == 'p')) { if(type == 2) { parse_brlan(argv[brlanargread]); @@ -122,7 +122,7 @@ if(type == 1) { parse_brlyt(argv[brlytargread]); } - }else if(argv[1][0] == 'm') { + }else if((argv[1][0] == 'm') || (argv[1][0] == 'w')) { if(type == 2) { dbgprintf("1:%d 2:%d f1:%s f2:%s\n", brlanargmake, brlanargdestmake, argv[brlanargmake], argv[brlanargdestmake]); |
