1 --- ./lphdisk.c.orig 2003-10-21 15:10:41.000000000 +0200
2 +++ ./lphdisk.c 2003-10-21 15:14:13.000000000 +0200
7 -const char usage_string[] = "\
8 -Usage: %1$s [options] [device]
9 -Prepare a hibernation partition for APM suspend-to-disk.
12 - -h, --help Display brief usage and option information (this screen)
13 - -p, --probeonly Only calculate and display required size, do not format
14 - -q, --quiet Turn off informational messages, useful for scripts
15 - -d, --debug Turn on (verbose) debugging messages
16 - -n, --nowrite Do not actually write to the disk
17 - -f, --force **DANGEROUS** Format without regard to potential problems
19 -'device' should be a raw disk device (not a partition). The default device
23 +const char usage_string[] = "Usage: %1$s [options] [device]\nPrepare a hibernation partition for APM suspend-to-disk.\n\n\noptions:\n -h, --help Display brief usage and option information (this screen)\n -p, --probeonly Only calculate and display required size, do not format\n -q, --quiet Turn off informational messages, useful for scripts\n -d, --debug Turn on (verbose) debugging messages\n -n, --nowrite Do not actually write to the disk\n -f, --force **DANGEROUS** Format without regard to potential problemsnn'device' should be a raw disk device (not a partition). The default devicenis /dev/hda.\n\n(%2$s)\n\n";
25 void print_usage (void) {
26 char *progname = rindex(argv0, '/');