/[grub]/grub2/normal/arg.c
ViewVC logotype

Diff of /grub2/normal/arg.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by marco_g, Mon Jul 12 17:53:07 2004 UTC revision 1.4 by marco_g, Mon Jan 31 21:40:25 2005 UTC
# Line 101  show_usage (grub_command_t cmd) Line 101  show_usage (grub_command_t cmd)
101    grub_printf ("Usage: %s\n", cmd->summary);    grub_printf ("Usage: %s\n", cmd->summary);
102  }  }
103    
104  static void  void
105  show_help (grub_command_t cmd)  grub_arg_show_help (grub_command_t cmd)
106  {  {
107    static void showargs (const struct grub_arg_option *opt)    static void showargs (const struct grub_arg_option *opt)
108      {      {
# Line 140  parse_option (grub_command_t cmd, int ke Line 140  parse_option (grub_command_t cmd, int ke
140    switch (key)    switch (key)
141      {      {
142      case 'h':      case 'h':
143        show_help (cmd);        grub_arg_show_help (cmd);
144        return -1;        return -1;
145                
146      case 'u':      case 'u':

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26