r175: *** empty log message ***
[ctsim.git] / tools / ifinfo.cpp
index 09ddfd677d07471e123ac8f7a9a56848264b36e0..e553be78e260fab612ef5b539782564438c760ac 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ifinfo.cpp,v 1.1 2000/07/13 07:01:35 kevin Exp $
+**  $Id: ifinfo.cpp,v 1.3 2000/08/03 09:57:29 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -46,6 +46,9 @@ static struct option my_options[] =
   {0, 0, 0, 0}
 };
 
+static const char* g_szIdStr = "$Id: ifinfo.cpp,v 1.3 2000/08/03 09:57:29 kevin Exp $";
+
+
 void 
 ifinfo_usage (const char *program)
 {
@@ -103,7 +106,7 @@ ifinfo_main (int argc, char *const argv[])
          break;
         case O_VERSION:
 #ifdef VERSION
-          cout << "Version " <<  VERSION << endl;
+         cout << "Version " << VERSION << endl << g_szIdStr << endl;
 #else
           cout << "Unknown version number" << endl;
 #endif