ArgParse not working with JUNO ARGS setting

Hi All
I’m new to Julia and JUNO IDE. Writing a script using ArgParse package. The script works ok in batch mode. However when try to run the script in JUNO it behaves oddly.

Example:

function parse_commandline()
    s = ArgParseSettings()
    @add_arg_table s begin
        "-i"
            help = "Input pv data file"
            arg_type = String
            default = "data.csv"
    end
    return parse_args(ARGS,s)
end
pa = parse_commandline()
print(pa["i"])

Julia foo.jl -i data.csv
will output "data.csv"

However with JUNO, when I set “-i data.csv” under Packages->Julia->Settings->Arguments, and then run in JUNO via Ctril-Shift-Enter, The script will print out " data.csv", with an extra space in front of the data.csv