anchor.diff:      Cwd = get_cwd(Odir),
       try
           % call "piqi compile"
  +        NormalizeNamesOpt =
  +            case NormalizeNames of
  +                true ->
  +                    " --normalize-names";
  +                false ->
  +                    ""
  +            end,
           PiqiCompile = lists:concat([
               find_piqi_executable(), " compile",
               " --self-spec ", SelfSpec,
               " -o ", CompiledPiqi,
               " -t pb",
               " -e erlang",  % automatically load .erlang.piqi extensions
  +            NormalizeNamesOpt,
               " ", join_args(OtherArgs)
           ]),
           run_piqi_compile(PiqiCompile),
  
positive.code:     output_dir,         % -C
      trace = false,      % --trace
      input_file,         % last positional argument
      other = []          % arguments to be passed to "piqi compile"
  }).
  
  
  % extract filename (last argument) and output directory (argument following -C)
  parse_args([]) ->
      args_error("missing name of the input .piqi file");
  
  parse_args([X]) when X == "-h" orelse X == "--help" ->
      usage(),
      erlang:halt(0);
  
  parse_args(Args) ->
      parse_args(Args, #args{}).
  
  
  parse_args([Filename], Args) ->
      Args#args{
  
negative.code: 
  args_error(ErrorStr) ->
      print_error(ErrorStr),
      erlang:halt(1).
  
  
  