aboutsummaryrefslogtreecommitdiffstats
path: root/core/parseconfig.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-03-18 20:40:26 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-03-18 20:42:42 -0700
commitff78e2b62a45f18c0d427153f957d2f06c0f5c1c (patch)
tree8ee5c6ed812f739755d91dfe1d4dab64b490fe0e /core/parseconfig.inc
parent332a924759efe50e783ad3116ecf17d518dfebe2 (diff)
downloadsyslinux-ff78e2b62a45f18c0d427153f957d2f06c0f5c1c.tar.gz
syslinux-ff78e2b62a45f18c0d427153f957d2f06c0f5c1c.tar.xz
syslinux-ff78e2b62a45f18c0d427153f957d2f06c0f5c1c.zip
Refactor command line parsing; support "quiet" optionsyslinux-3.74-pre7
Refactor the command line parser to be more of a general parser instead of treating each option as an ad hoc feature. Suppress the Loading... prompt if "quiet" is specified on the command line. Some messed-up people want it this way.
Diffstat (limited to 'core/parseconfig.inc')
-rw-r--r--core/parseconfig.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index 2f0db489..37fe97fe 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -413,8 +413,8 @@ commit_vk:
cmp byte [InitRD+NULLOFFSET],NULLFILE
je .noinitrd
- mov si,initrd_cmd
- mov cx,initrd_cmd_len
+ mov si,str_initrd
+ mov cx,7 ; "initrd="
rep movsb
mov si,InitRD
call unmangle_name