summaryrefslogtreecommitdiffstats
path: root/fbbrowser/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-01-25 17:13:35 +0100
committerJonathan Bauer2011-01-25 17:13:35 +0100
commit2346f109df05309a02f13c6992b01f6f5f2329ef (patch)
tree7c07fb4d5601e0440ba9d375f5c08cc8e711e2a6 /fbbrowser/fbgui.cpp
parentfbgui.h updated (diff)
downloadfbgui-2346f109df05309a02f13c6992b01f6f5f2329ef.tar.gz
fbgui-2346f109df05309a02f13c6992b01f6f5f2329ef.tar.xz
fbgui-2346f109df05309a02f13c6992b01f6f5f2329ef.zip
fbgui.o removed
Diffstat (limited to 'fbbrowser/fbgui.cpp')
-rw-r--r--fbbrowser/fbgui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fbbrowser/fbgui.cpp b/fbbrowser/fbgui.cpp
index 4d34fa9..fe67b79 100644
--- a/fbbrowser/fbgui.cpp
+++ b/fbbrowser/fbgui.cpp
@@ -12,7 +12,7 @@ void printUsage()
// Prints usage information, incomplete.
// Q: How is the -qws option handled, mention it here or not?
QTextStream qout(stdout);
- qout << QObject::tr("Usage: ./fbbrowser [OPTIONS] <URL>") << endl;
+ qout << QObject::tr("Usage: ./fbgui [OPTIONS] <URL>") << endl;
qout << QObject::tr("Options:") << endl;
qout << "-h or --help " << QObject::tr("Prints usage information.") << endl;
qout << "-qws " << QObject::tr("Set this application to also be the server application.") << endl;
@@ -33,7 +33,7 @@ QString getPath(const char* c)
int main(int argc, char *argv[])
{
// Parse command line arguments.
- int opt = 1;
+ int opt = 0;
int longIndex = 0;
// Declare the short options as a char*, these have exactly one - followed by letter from optString.
// For example: ./fbbrowser -h