On 23.07.2007 18:06, [EMAIL PROTECTED] wrote:
> Provide the ability to add arbitrary files to an existing LAR.  Also
> fleshed out the "usage" screen.
> 
> Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]>
> Index: LinuxBIOSv3/util/lar/lar.c
> ===================================================================
> --- LinuxBIOSv3.orig/util/lar/lar.c   2007-07-11 11:41:37.000000000 -0600
> +++ LinuxBIOSv3/util/lar/lar.c        2007-07-11 11:51:57.000000000 -0600
> @@ -44,7 +44,33 @@
>  static void usage(char *name)
>  {
>       printf("\nLAR - the LinuxBIOS Archiver " VERSION "\n" COPYRIGHT "\n\n"
> -            "Usage: %s [-cxl] archive.lar [[[file1] file2] ...]\n\n", name);
> +            "Usage: %s [-cxal] archive.lar [[[file1] file2] ...]\n\n", name);
> +     printf("Examples:\n");
> +     printf("  lar -c -s 32768 -b bootblock myrom.lar foo nocompress:bar\n");
> +     printf("  lar -a myrom.lar foo blob:baz\n");

"blob" flag used here

> +     printf("  lar -l myrom.lar\n\n");
> +
> +     printf("File names:\n");
> +     printf("   Names specified in the create or add modes are formatted 
> as\n");
> +     printf("   follows:  [flags]:[filename]:[pathname].\n");
> +     printf("     * Flags are modifiers for the file.  Valid flags:\n");
> +     printf("       nocompress\tDon't compress the file in the LAR\n");

"blob" flag not mentioned here

> +     printf("     * Filename is the name of the file on disk.  If no 
> pathname\n");

Regards,
Carl-Daniel

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to