New command and -as mkisofs option -genisoimage_completion

This commit is contained in:
2024-09-02 15:04:06 +02:00
parent 5583a1c7f0
commit 1dd5dca5eb
15 changed files with 549 additions and 149 deletions

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISO 1 "Version 1.5.7, Aug 28, 2024"
@c man .TH XORRISO 1 "Version 1.5.7, Aug 31, 2024"
@c man .\" Please adjust this date whenever revising the manpage.
@c man .\"
@c man .\" Some roff macros, for reference:
@ -6738,6 +6738,28 @@ VOLI (-volid) , VOLS (-volset_id)
@*
Any other lines will be silently ignored.
@c man .TP
@item -genisoimage_completion "on"|"off"
@kindex -genisoimage_completion completion of genisoimage options
@cindex Emulation, options completion, -genisoimage_completion
Enable or disable the completion of genisoimage options during -as mkisofs
emulation.
@*
If enabled by "on", then unrecognized option arguments which begin by
a dash '-' get compared against the known genisoimage options, like program
genisoimage does unconditionally (and undocumentedly). If the given argument
matches the beginning of exactly one genisoimage option, then it gets replaced
by that option.
Option arguments which consist entirely of a leading dash and letters out of
"dDfJlNRrTUvz" are not matched but rather interpreted as usual, i.e. as
multiple options with leading dash and each single letter.
If no genisoimage option is found or more than one are found, then a SORRY
message is issued and the argument stays as is.
@*
If disabled by "off", no completion of options happens. Like with enabled
completion, option arguments which consist entirely of letters out of
"dDfJlNRrTUvz" are not matched but rather interpreted as multiple
arguments with leading dash and each single letter.
@c man .TP
@item -pacifier behavior_code
@kindex -pacifier controls pacifier text form
@cindex Emulation, pacifier form, -pacifier