Skip to content

Commit

Permalink
Tiny fix in aux function
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobaldassi committed Jan 23, 2020
1 parent bb48385 commit 26b1a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/settings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,8 @@ function name_to_fieldnames(name::ArgName, settings::ArgParseSettings)
push!(short_opts, short_opt_name)
else
args_allowed || found_a_bug()
check_arg_name(name)
pos_arg = name
check_arg_name(n)
pos_arg = n
end
end

Expand Down

0 comments on commit 26b1a74

Please sign in to comment.