reject invalid opts flags more strictly

This commit is contained in:
alisdair sullivan 2013-02-04 23:08:44 -08:00
parent eaba8c7b0f
commit 5efec8af8e
4 changed files with 42 additions and 142 deletions

View file

@ -24,7 +24,7 @@
-module(jsx_utils).
-export([parse_opts/1]).
-export([extract_opts/1]).
-export([extract_opts/1, valid_flags/0]).
-export([json_escape_sequence/1]).
-include("jsx_opts.hrl").