summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-28 23:18:37 (GMT)
committerfluxgen <fluxgen>2003-08-28 23:18:37 (GMT)
commit80908ebff190f787dcd96b81eefb4a8602c0b9e9 (patch)
tree448dfe40fae2f66a4f0d9816cea2bb1a6f48e0e3 /src
parentec235918df48427817521d6df9fde4cbe56c82d7 (diff)
downloadfluxbox_lack-80908ebff190f787dcd96b81eefb4a8602c0b9e9.zip
fluxbox_lack-80908ebff190f787dcd96b81eefb4a8602c0b9e9.tar.bz2
added verbose option to enable verbose theme warnings
Diffstat (limited to 'src')
-rw-r--r--src/main.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index ecaff6a..c3bc73a 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -20,12 +20,13 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: main.cc,v 1.22 2003/07/25 10:03:55 rathnor Exp $ 23// $Id: main.cc,v 1.23 2003/08/28 23:18:37 fluxgen Exp $
24 24
25#include "fluxbox.hh" 25#include "fluxbox.hh"
26#include "I18n.hh" 26#include "I18n.hh"
27#include "version.h" 27#include "version.h"
28#include "defaults.hh" 28#include "defaults.hh"
29#include "FbTk/Theme.hh"
29 30
30#ifdef HAVE_CONFIG_H 31#ifdef HAVE_CONFIG_H
31#include "config.h" 32#include "config.h"
@@ -201,6 +202,8 @@ int main(int argc, char **argv) {
201 } else if (strcmp(argv[i], "-info") == 0 || strcmp(argv[i], "-i") == 0) { 202 } else if (strcmp(argv[i], "-info") == 0 || strcmp(argv[i], "-i") == 0) {
202 showInfo(cout); 203 showInfo(cout);
203 exit(0); 204 exit(0);
205 } else if (strcmp(argv[i], "-verbose") == 0) {
206 FbTk::ThemeManager::instance().setVerbose(true);
204 } 207 }
205 } 208 }
206 209