blob: 8fd54eb979326217d68b5cc8dc3704aec428dff4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/sleeptimer.c
+++ b/sleeptimer.c
@@ -165,6 +165,8 @@ bool cPluginSleeptimer::ProcessArgs(int
{
// Implement command line argument processing here if applicable.
int c;
+ if (!strcmp(*argv, "sleeptimer"))
+ ++argv, --argc;
while((c = getopt(argc, argv, "e:")) != -1 ) {
switch(c) {
case 'e':
|