[BACK]Return to cmd-list-commands.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/Attic/cmd-list-commands.c between version 1.7 and 1.8

version 1.7, 2012/07/11 07:10:15 version 1.8, 2013/03/21 16:12:50
Line 42 
Line 42 
 {  {
         const struct cmd_entry        **entryp;          const struct cmd_entry        **entryp;
   
         for (entryp = cmd_table; *entryp != NULL; entryp++)          for (entryp = cmd_table; *entryp != NULL; entryp++) {
                 ctx->print(ctx, "%s %s", (*entryp)->name, (*entryp)->usage);                  if ((*entryp)->alias != NULL) {
                           ctx->print(ctx, "%s (%s) %s", (*entryp)->name,
                               (*entryp)->alias, (*entryp)->usage);
                   } else {
                           ctx->print(ctx, "%s %s", (*entryp)->name,
                               (*entryp)->usage);
                   }
           }
   
         return (CMD_RETURN_NORMAL);          return (CMD_RETURN_NORMAL);
 }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8