From: Francois Fleuret Date: Thu, 12 Mar 2009 15:53:52 +0000 (+0100) Subject: Automatic commit X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e6257964d214b205e798891487f7d8489c7f406;p=selector.git Automatic commit --- diff --git a/selector.cc b/selector.cc index 0865015..2664dd7 100644 --- a/selector.cc +++ b/selector.cc @@ -41,6 +41,8 @@ using namespace std; +#define VERSION "1.0" + // Yeah, global variables! int buffer_size = 1024; @@ -331,7 +333,11 @@ int main(int argc, char **argv) { } else { - cerr << argv[0] + cerr << "Selector version " << VERSION + << endl + << "Written by Francois Fleuret " + << endl + << argv[0] << " [-h]" << " [-b]" << " [-v]" @@ -356,7 +362,7 @@ int main(int argc, char **argv) { ifstream file(input_filename); if(file.fail()) { - cerr << "Can not open \"" << input_filename << "\"" << endl; + cerr << "Can not open " << input_filename << endl; return 1; }