Merge branch 'master' of https://github.com/hcarvalhoalves/hy into hcarvalhoalves-master
This commit is contained in:
commit
f4f0972e6e
@ -228,7 +228,7 @@ def cmdline_handler(scriptname, argv):
|
|||||||
options = parser.parse_args(argv[1:])
|
options = parser.parse_args(argv[1:])
|
||||||
|
|
||||||
# reset sys.argv like Python
|
# reset sys.argv like Python
|
||||||
sys.argv = options.args
|
sys.argv = options.args or [""]
|
||||||
|
|
||||||
if options.command:
|
if options.command:
|
||||||
# User did "hy -c ..."
|
# User did "hy -c ..."
|
||||||
|
Loading…
Reference in New Issue
Block a user