anchor.diff:      end.
   
   
  --spec split_assigned_arg(string()) -> {Name :: string(), Arg :: string()} | string().
   %% @doc Split an option string that may contain an option with its argument
   %%      separated by an equal ('=') character (e.g. "port=1000").
  +-spec split_assigned_arg(string()) -> {Name :: string(), Arg :: string()} | string().
   split_assigned_arg(OptStr) ->
       split_assigned_arg(OptStr, OptStr, []).
   
  
positive.code:     true.
    
  
  -spec usage([option_spec()], string()) -> ok.
  %%--------------------------------------------------------------------
  %% @spec usage(OptSpecList :: [option_spec()], ProgramName :: string()) -> ok.
  %% @doc  Show a message on stdout indicating the command line options and
  %%       arguments that are supported by the program.
  %%--------------------------------------------------------------------
  usage(OptSpecList, ProgramName) ->
      io:format("Usage: ~s~s~n~n~s~n",
                [ProgramName, usage_cmd_line(OptSpecList), usage_options(OptSpecList)]).
  
  
  -spec usage([option_spec()], string(), string()) -> ok.
  %%--------------------------------------------------------------------
  %% @spec usage(OptSpecList :: [option_spec()], ProgramName :: string(), CmdLineTail :: string()) -> ok.
  %% @doc  Show a message on stdout indicating the command line options and
  %%       arguments that are supported by the program. The CmdLineTail argument
  %%       is a string that is added to the end of the usage command line.
  %%--------------------------------------------------------------------
  usage(OptSpecList, ProgramName, CmdLineTail) ->
      io:format("Usage: ~s~s ~s~n~n~s~n",
                [ProgramName, usage_cmd_line(OptSpecList), CmdLineTail, usage_options(OptSpecList)]).
  
  
  -spec usage([option_spec()], string(), string(), [{string(), string()}]) -> ok.
  %%--------------------------------------------------------------------
  %% @spec usage(OptSpecList :: [option_spec()], ProgramName :: string(), 
  %%             CmdLineTail :: string(), OptionsTail :: [{string(), string()}]) -> ok.
  %% @doc  Show a message on stdout indicating the command line options and
  %%       arguments that are supported by the program. The CmdLineTail and OptionsTail
  %%       arguments are a string that is added to the end of the usage command line
  %%       and a list of tuples that are added to the end of the options' help lines.
  %%--------------------------------------------------------------------
  usage(OptSpecList, ProgramName, CmdLineTail, OptionsTail) ->
      UsageOptions = lists:foldl(
                       fun ({Prefix, Help}, Acc) ->
  
negative.code:     end.
      
  
  %% @doc Find the option for the discrete argument in position specified in the
  %%      Pos argument.
  -spec find_non_option_arg([option_spec()], integer()) -> {value, option_spec()} | false.
  find_non_option_arg([{_Name, undefined, undefined, _ArgSpec, _Help} = OptSpec | _Tail], 0) ->
       {value, OptSpec};
  find_non_option_arg([{_Name, undefined, undefined, _ArgSpec, _Help} | Tail], Pos) ->
  