diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-09 17:45:47 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-09 17:45:47 -0700 |
commit | a556d59a601697857e8a034d97cb4347f766cddd (patch) | |
tree | 478936f3f5df95003043ff1c12eb2f3d6d22df31 /linux/syslinux.c | |
parent | 064b36baf1da53a709d1598209b025fcd4494d27 (diff) | |
download | syslinux-a556d59a601697857e8a034d97cb4347f766cddd.tar.gz syslinux-a556d59a601697857e8a034d97cb4347f766cddd.tar.xz syslinux-a556d59a601697857e8a034d97cb4347f766cddd.zip |
syslinux: provide for backwards compatibility
Provide for backwards command-line compatibility, together with
warning messages where appropriate.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'linux/syslinux.c')
-rw-r--r-- | linux/syslinux.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/syslinux.c b/linux/syslinux.c index bd3c555c..d8b31491 100644 --- a/linux/syslinux.c +++ b/linux/syslinux.c @@ -399,8 +399,10 @@ int main(int argc, char *argv[]) sync(); rmdir(mntpath); exit(0); - } else - usage(EX_USAGE, MODE_SYSLINUX); + } else { + fprintf(stderr, "%s: please specify --install or --update for the future\n", argv[0]); + opt.update_only = 0; + } } /* Read a pre-existing ADV, if already installed */ |