~ubuntu-branches/ubuntu/wily/grub2/wily-proposed

« back to all changes in this revision

Viewing changes to util/grub-editenv.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Zielcke, Robert Millan, Felix Zielcke
  • Date: 2010-01-26 19:26:25 UTC
  • mfrom: (1.13.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126192625-coq6czap2ofjollf
Tags: 1.98~20100126-1
* New Bazaar snapshot.
  - Includes mipsel-yeeloong port.

[ Robert Millan ]
* config.in: Lower priority of grub2/linux_cmdline_default.

[ Felix Zielcke ]
* Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.
* Ship grub-bin2h and grub-script-check in grub-common.
* Terminate NEWS.Debian with a blank line like lintian would suggest
  if that check would be working correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
usage (int status)
70
70
{
71
71
  if (status)
72
 
    fprintf (stderr, "Try ``grub-editenv --help'' for more information.\n");
 
72
    fprintf (stderr, "Try `%s --help' for more information.\n", program_name);
73
73
  else
74
74
    printf ("\
75
 
Usage: grub-editenv [OPTIONS] [FILENAME] COMMAND\n\
 
75
Usage: %s [OPTIONS] [FILENAME] COMMAND\n\
76
76
\n\
77
77
Tool to edit environment block.\n\
78
78
\nCommands:\n\
88
88
If not given explicitly, FILENAME defaults to %s.\n\
89
89
\n\
90
90
Report bugs to <%s>.\n",
91
 
DEFAULT_DIRECTORY "/" GRUB_ENVBLK_DEFCFG, PACKAGE_BUGREPORT);
 
91
program_name, DEFAULT_DIRECTORY "/" GRUB_ENVBLK_DEFCFG, PACKAGE_BUGREPORT);
92
92
 
93
93
  exit (status);
94
94
}