File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ function cli() {
2424 switch ( command ) {
2525 case COMPILE : compile ( args ) ; break ;
2626 case RUN : output = run ( args ) ; break ;
27- case HELP : process . stdout . write ( help ) ; break ;
27+ case HELP : process . stdout . write ( help ) ; return ;
2828 case ANALLIFY : output = anallify ( args ) ; break ;
2929 case STRINGIFY : output = stringify ( args ) ; break ;
30- default : process . stdout . write ( help ) ; break ;
30+ default : process . stdout . write ( help ) ; return ;
3131 }
3232
3333 process . stdout . write ( `${ output } \n` ) ;
Original file line number Diff line number Diff line change 1010
1111const commands = `
1212Commands:
13+ run Run a .anal file
14+ compile Compile any file to .anal
1315 anallify Encode string to anal
1416 stringify Decode anal to string
1517 help Show this help
You can’t perform that action at this time.
0 commit comments