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

Diff of /grub2/normal/command.c

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

revision 1.9 by okuji, Tue Mar 8 01:01:06 2005 UTC revision 1.10 by okuji, Sun Jul 17 20:26:07 2005 UTC
# Line 1  Line 1 
1  /*  /*
2   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
3   *  Copyright (C) 2003, 2005  Free Software Foundation, Inc.   *  Copyright (C) 2003,2005  Free Software Foundation, Inc.
4   *   *
5   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
6   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 382  grub_command_init (void) Line 382  grub_command_init (void)
382    grub_register_command ("title", 0, GRUB_COMMAND_FLAG_TITLE, 0, 0, 0);    grub_register_command ("title", 0, GRUB_COMMAND_FLAG_TITLE, 0, 0, 0);
383    
384    grub_register_command ("rescue", rescue_command, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("rescue", rescue_command, GRUB_COMMAND_FLAG_BOTH,
385                           "rescue", "Enter into the rescue mode.", 0);                           "rescue", "Go back to the rescue mode.", 0);
386    
387    grub_register_command ("set", set_command, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("set", set_command, GRUB_COMMAND_FLAG_BOTH,
388                           "set [ENVVAR=VALUE]", "Set an environment variable.", 0);                           "set [ENVVAR=VALUE]",
389                             "Set an environment variable.", 0);
390    
391    grub_register_command ("unset", unset_command, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("unset", unset_command, GRUB_COMMAND_FLAG_BOTH,
392                           "unset ENVVAR", "Remove an environment variable.", 0);                           "unset ENVVAR", "Remove an environment variable.", 0);
393    
394    grub_register_command ("insmod", insmod_command, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("insmod", insmod_command, GRUB_COMMAND_FLAG_BOTH,
395                           "insmod MODULE|FILE", "Insert a module.", 0);                           "insmod MODULE",
396                             "Insert a module. The argument can be a file or a module name.",
397                             0);
398    
399    grub_register_command ("rmmod", rmmod_command, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("rmmod", rmmod_command, GRUB_COMMAND_FLAG_BOTH,
400                           "rmmod MODULE", "Remove a module.", 0);                           "rmmod MODULE", "Remove a module.", 0);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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