Ticket #1975: tt1975.patch

File tt1975.patch, 1.1 KB (added by doughera, 11 years ago)
  • frontend/pbc_dump/main.c

    diff --git a/frontend/pbc_dump/main.c b/frontend/pbc_dump/main.c
    index a369421..878adef 100644
    a b  
    308308    { 't', 't', OPTION_optional_FLAG, { "--terse"       } }, 
    309309    { 'n', 'n', OPTION_optional_FLAG, { "--line-nums"   } }, 
    310310    { 'd', 'd', OPTION_optional_FLAG, { "--disassemble" } }, 
    311     { 'o', 'o', OPTION_required_FLAG, { "--output"      } } 
     311    { 'o', 'o', OPTION_required_FLAG, { "--output"      } }, 
    312312 
    313313#if TRACE_PACKFILE 
    314314    { 'D', 'D', OPTION_required_FLAG, { "--debug"       } }, 
    315315#endif 
     316    { 0,    0,  OPTION_optional_FLAG, { NULL            } } 
    316317}; 
    317318 
    318319 
  • frontend/pbc_merge/main.c

    diff --git a/frontend/pbc_merge/main.c b/frontend/pbc_merge/main.c
    index 2c63b79..49d5206 100644
    a b  
    893893*/ 
    894894 
    895895static struct longopt_opt_decl options[] = { 
    896     { 'o', 'o', OPTION_required_FLAG, { "--output" } } 
     896    { 'o', 'o', OPTION_required_FLAG, { "--output" } }, 
     897    {  0 ,  0 , OPTION_optional_FLAG, { NULL       } } 
    897898}; 
    898899 
    899900int