Commit 8164aa65 authored by claes's avatar claes

Switch -f added

parent 64ee79f9
/*
* Proview $Id: wb_gtk.cpp,v 1.2 2007-02-06 15:14:08 claes Exp $
* Proview $Id: wb_gtk.cpp,v 1.3 2007-05-28 14:51:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -147,6 +147,13 @@ WbGtk::WbGtk( int argc, char *argv[])
Lng::set( argv[i+1]);
i++;
break;
case 'f':
if ( i+1 >= argc) {
usage();
exit(0);
}
i++;
break;
case 'c':
if ( i+1 >= argc) {
usage();
......
/*
* Proview $Id: wb_motif.cpp,v 1.2 2007-03-26 06:30:40 claes Exp $
* Proview $Id: wb_motif.cpp,v 1.3 2007-05-28 14:51:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -175,6 +175,13 @@ WbMotif::WbMotif( int argc, char *argv[])
Lng::set( argv[i+1]);
i++;
break;
case 'f':
if ( i+1 >= argc) {
usage();
exit(0);
}
i++;
break;
case 'c':
if ( i+1 >= argc) {
usage();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment