Documentation update. Fixed typo in comment in functions.source

This commit is contained in:
clanmills 2020-05-14 16:42:55 +01:00
parent 6527ce1bdb
commit 5aa09915ea
3 changed files with 12 additions and 5 deletions

View File

@ -372,8 +372,11 @@ This program is used to test reading the file ini-test. This program was added
#### iotest
```
Usage: iotest filein fileout1 fileout2
Usage: iotest filein fileout1 fileout2 [remote [blocksize]]
fileouts are overwritten and should match filein exactly
You may optionally provide the URL of a remote file to be copied to filein.
If you use `remote`, you may optionally provide a blocksize for the copy buffer (default 10k)
```
Test programs for BasicIo functions.

View File

@ -52,9 +52,13 @@ int main(int argc, char* const argv[])
try {
if (argc < 4 || argc > 6 ) {
std::cout << "Usage: " << argv[0] << " filein fileout1 fileout2 [remote [blocksize]]\n";
std::cout << "fileouts are overwritten and should match filein exactly\n";
return 1;
std::cout << "Usage: " << argv[0] << " filein fileout1 fileout2 [remote [blocksize]]\n"
"fileouts are overwritten and should match filein exactly\n"
"\n"
"You may optionally provide the URL of a remote file to be copied to filein\n"
"If you use `remote`, you may optionally provide a blocksize for the copy buffer (default 10k)\n"
;
return 1;
}
const char* f0 = argv[1]; // fileIn
const char* f1 = argv[2]; // fileOut1

View File

@ -462,7 +462,7 @@ startHttpServer() {
}
##
# cloaseHttpServer - power down the python web server
# closeHttpServer - power down the python web server
closeHttpServer() {
if [ ! -z $exiv2_httpServer ]; then
echo kill exiv2_httpServer $exiv2_httpServer