• Kirill Smelkov's avatar
    gpython: Support -c<command>, not only -c <command> · e6714e49
    Kirill Smelkov authored
    And same for -m<module> - becuase Python supports it this way.
    
    Before the patch:
    
    	$ python '-cprint "hello world"'
    	hello world
    	$ gpython '-cprint "hello world"'
    	unknown option: '-cprint "hello world"'
    
    After the patch:
    
    	$ python '-cprint "hello world"'
    	hello world
    	$ gpython '-cprint "hello world"'
    	hello world
    
    /reviewed-on !5
    e6714e49
gpython_test.py 4.47 KB