mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:47:28 +03:00
os400: build cli manual.
Use PASE perl to run manual generation scripts. As PASE perl is not aware of all possible input file encoding, convert all files to UTF-8 upon build start (this might be lengthy). OS/400 terminal emulation may only offer 76 columns, thus a new -c parameter has been added to the managen program, defining the allowed width. If perl is not available, omit generation and disable online manual. Closes #14289
This commit is contained in:
parent
b446802feb
commit
d14149e3ea
7 changed files with 101 additions and 4 deletions
|
|
@ -1196,6 +1196,12 @@ elsif($cmd eq "-I") {
|
|||
$cmd = shift @ARGV;
|
||||
goto check;
|
||||
}
|
||||
elsif($cmd eq "-c") {
|
||||
# Column width
|
||||
$colwidth = 0 + shift @ARGV;
|
||||
$cmd = shift @ARGV;
|
||||
goto check;
|
||||
}
|
||||
|
||||
my @files = @ARGV; # the rest are the files
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue