[syslinux] [PATCH] utils/isohybrid.c: 007 Enable promised options -u, -m, -b
Thomas Schmitt
scdbackup at gmx.net
Sun Jun 22 13:21:05 PDT 2014
It turned out that i copied the options handling from suboptimal
example code.
This change enables the options -u, -m, -b as promised by the help text.
--- isohybrid.c.006_opt_mbr_standalone 2014-06-22 20:10:49.000000000 +0200
+++ isohybrid.c.007_short_opts_umb 2014-06-22 22:14:03.000000000 +0200
@@ -262,7 +262,7 @@ check_option(int argc, char *argv[])
char *err = NULL;
int n = 0, ind = 0;
- const char optstr[] = ":h:s:e:o:t:i:fcp?vV";
+ const char optstr[] = ":h:s:e:o:t:i:u:m:b:fcp?vV";
struct option lopt[] = \
{
{ "entry", required_argument, NULL, 'e' },
More information about the Syslinux
mailing list