mirror of https://github.com/davisking/dlib.git
Updated this example so that the output from the -h option listed
the correct name of the program. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403314
This commit is contained in:
parent
c7e6da5c99
commit
f7707c11c6
|
@ -9,7 +9,7 @@
|
|||
|
||||
The output from the program when the -h option is given is:
|
||||
|
||||
Usage: dclib_example (-c|-d|-l) --in input_file --out output_file
|
||||
Usage: compress_stream_ex (-c|-d|-l) --in input_file --out output_file
|
||||
Options:
|
||||
-c Indicates that we want to compress a file.
|
||||
-d Indicates that we want to decompress a file.
|
||||
|
@ -100,7 +100,7 @@ int main(int argc, char** argv)
|
|||
if (parser.option("h"))
|
||||
{
|
||||
// display all the command line options
|
||||
cout << "Usage: dclib_example (-c|-d|-l) --in input_file --out output_file\n";
|
||||
cout << "Usage: compress_stream_ex (-c|-d|-l) --in input_file --out output_file\n";
|
||||
// This function prints out a nicely formatted list of
|
||||
// all the options the parser has
|
||||
parser.print_options(cout);
|
||||
|
|
Loading…
Reference in New Issue