mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
Fix sf: #2961602
Add missing --quiet option and optional arguments to --pause and --interval
This commit is contained in:
parent
1dc3870c8a
commit
a9e5820a34
@ -5562,6 +5562,7 @@ static const char *getopt_string = "vVqdDt:u:i:hc:p:"
|
|||||||
static const struct option longopts[] = {
|
static const struct option longopts[] = {
|
||||||
{ "help", 0, NULL, 'h' },
|
{ "help", 0, NULL, 'h' },
|
||||||
{ "version", 0, NULL, 'V' },
|
{ "version", 0, NULL, 'V' },
|
||||||
|
{ "quiet", 0, NULL, 'q' },
|
||||||
{ "debug", 0, NULL, 'D' },
|
{ "debug", 0, NULL, 'D' },
|
||||||
{ "config", 1, NULL, 'c' },
|
{ "config", 1, NULL, 'c' },
|
||||||
#ifdef CONFIG_OUTPUT
|
#ifdef CONFIG_OUTPUT
|
||||||
@ -5581,8 +5582,8 @@ static const struct option longopts[] = {
|
|||||||
{ "window-id", 1, NULL, 'w' },
|
{ "window-id", 1, NULL, 'w' },
|
||||||
#endif /* X11 */
|
#endif /* X11 */
|
||||||
{ "text", 1, NULL, 't' },
|
{ "text", 1, NULL, 't' },
|
||||||
{ "interval", 0, NULL, 'u' },
|
{ "interval", 1, NULL, 'u' },
|
||||||
{ "pause", 0, NULL, 'p' },
|
{ "pause", 1, NULL, 'p' },
|
||||||
{ 0, 0, 0, 0 }
|
{ 0, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user