projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc3870
)
Fix sf: #2961602
author
Cesare Tirabassi
<norsetto@ubuntu.com>
Tue, 2 Mar 2010 19:26:59 +0000
(20:26 +0100)
committer
Cesare Tirabassi
<norsetto@ubuntu.com>
Tue, 2 Mar 2010 19:26:59 +0000
(20:26 +0100)
Add missing --quiet option and optional arguments to --pause and --interval
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
97a8a2a
..
b08df7c
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-5562,6
+5562,7
@@
static const char *getopt_string = "vVqdDt:u:i:hc:p:"
static const struct option longopts[] = {
{ "help", 0, NULL, 'h' },
{ "version", 0, NULL, 'V' },
+ { "quiet", 0, NULL, 'q' },
{ "debug", 0, NULL, 'D' },
{ "config", 1, NULL, 'c' },
#ifdef CONFIG_OUTPUT
@@
-5581,8
+5582,8
@@
static const struct option longopts[] = {
{ "window-id", 1, NULL, 'w' },
#endif /* X11 */
{ "text", 1, NULL, 't' },
- { "interval", 0, NULL, 'u' },
- { "pause", 0, NULL, 'p' },
+ { "interval", 1, NULL, 'u' },
+ { "pause", 1, NULL, 'p' },
{ 0, 0, 0, 0 }
};