var is not defined

julia> using ArgParse

julia> @add_arg_table s begin
("–seed"; arg_type=Int; default=42)
("–nbatch"; arg_type=Int; default=100)
("–lr"; arg_type=Float64; default=0.00001)
("–epochs"; arg_type=Int; default=5)
("–gcheck"; arg_type=Int; default=0)
end
ERROR: UndefVarError: s not defined
Stacktrace:
[1] top-level scope at /home/users/xdlan/.julia/packages/ArgParse/iJFzR/src/ArgParse.jl:737

Add next line after using ArgParse:

s = ArgParseSettings()

And probably try to read documentation!!!

yes ,thanks