Please don't cross-post questions on multiple forums:
http://stackoverflow.com/questions/34665140/argparse-add-arg-table-not-recognized-in-julia
.

On Thu, Jan 7, 2016 at 4:33 PM, Kevin Squire <kevin.squ...@gmail.com> wrote:

> Hello Uthsav,
>
> Works for me:
>
> $ julia0.3 argparse_example3.jl --opt1 1 2 3
> Parsed args:
>   arg1  =>  {"2","3"}
>   karma  =>  0
>   arg2  =>  {"no_arg_given"}
>   opt1  =>  1
>
> How are you trying to run that code?
>
> On Thu, Jan 7, 2016 at 12:36 PM, Uthsav Chitra <uthsav_chi...@brown.edu>
> wrote:
>
>> I'm using Julia v0.3.9 right now. I recently updated all my packages (I
>> haven't opened Julia in a couple months), including ArgParse. The macro
>> @add_arg_table isn't recognized though. In particular, I tried running
>> example code here
>> <https://github.com/carlobaldassi/ArgParse.jl/blob/master/examples/argparse_example3.jl>,
>> but I get the following error:
>>
>> *ERROR: @add_arg_table not defined*
>>
>> * in include at
>> /Applications/Julia-0.3.9.app/Contents/Resources/julia/lib/julia/sys.dylib*
>>
>> * in include_from_node1 at
>> /Applications/Julia-0.3.9.app/Contents/Resources/julia/lib/julia/sys.dylib*
>>
>> *while loading /Users/Uthsav/Desktop/Walking The Interactome Work/arg.jl,
>> in expression starting on line 42*
>>
>>
>> This is essentially the problem I'm having in my own code. I looked but
>> couldn't find any information about this besides what it says on the
>> Github, which is that the macro @add_arg_table should still work. Any help
>> would be greatly appreciated. Thanks a lot!
>>
>
>

Reply via email to