Documentation update. Fixed typo in comment in functions.source
This commit is contained in:
parent
6527ce1bdb
commit
5aa09915ea
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user