From 991baf17d5a3e8804a8190b3e005d75c0d4cab82 Mon Sep 17 00:00:00 2001 From: Michal Soltys Date: Sat, 21 Aug 2010 17:43:48 +0200 Subject: [PATCH] chain.c: option renames Renamed some of the options to better fit the whole scheme. Also adjusted usage(). Signed-off-by: Michal Soltys --- com32/chain/chain.c | 148 ++++++++++++++++++++++++++-------------------------- 1 file changed, 73 insertions(+), 75 deletions(-) diff --git a/com32/chain/chain.c b/com32/chain/chain.c index a01254a..eb35128 100644 --- a/com32/chain/chain.c +++ b/com32/chain/chain.c @@ -54,22 +54,22 @@ static struct options { unsigned int drvoff; const char *drivename; const char *partition; - const char *loadfile; + const char *file; const char *grubcfg; bool isolinux; bool cmldr; bool drmk; bool grub; bool grldr; - bool smap; + bool maps; bool hand; bool swap; bool hide; bool sethid; bool setgeo; bool setdrv; - bool read; - bool write; + bool sect; + bool save; bool filebpb; uint16_t keeppxe; struct syslinux_rm_regs regs; @@ -492,8 +492,25 @@ Usage:\n\ chain.c32 label{:|=}