diff options
author | Philipp Erhardt <Philipp.Erhardt@informatik.stud.uni-erlangen.de> | 2015-06-30 12:54:39 +0200 |
---|---|---|
committer | Philipp Erhardt <Philipp.Erhardt@informatik.stud.uni-erlangen.de> | 2015-06-30 12:54:39 +0200 |
commit | 3c40a666ade2805ebcfab505fb85a5344a2e0fa8 (patch) | |
tree | eb1ee87295af968bfc49c71bd10c7612a7389166 /src | |
parent | d05657391fc8e69e1d886c2fd8bb9dc8d558f2bf (diff) |
Update usage output
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index fb7cf62..c4934de 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -13,9 +13,10 @@ using namespace std; static void print_help(char *name) { cout << "Usage:" << endl; - cout << " " << name << " [OPTIONS] FILE" << endl; + cout << " " << name << " ([OPTIONS] FILE|(-u URL))*" << endl; cout << endl; cout << "Options:" << endl; + cout << " -u, --url Open a URL instead of a local file" << endl; cout << " -p, --page NUM Start showing page NUM" << endl; cout << " -f, --fullscreen Start in fullscreen mode" << endl; cout << " -q, --quit Quit on initialization failure" << endl; |