Subversion Repositories HomeAutomation

Rev

Rev 1610 | Rev 1620 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1610 Rev 1614
Line 61... Line 61...
61
       
61
       
62
        return true;
62
        return true;
63
    }
63
    }
64
   
64
   
65
    return false;
65
    return false;
-
 
66
}
-
 
67
 
-
 
68
function StandardAutocomplete()
-
 
69
{
-
 
70
    // First argument is the command line split
-
 
71
    var command_line_parts = arguments[0];
-
 
72
   
-
 
73
    // command_line_parts[0] == command name
-
 
74
    var arg_index = arguments[0].length - 2;
-
 
75
   
-
 
76
    // Supplied parameters to complete
-
 
77
    var args_to_complete = arguments.length - 1;
-
 
78
   
-
 
79
    if (0 <= arg_index && arg_index < args_to_complete)
-
 
80
    {
-
 
81
        return arguments[arg_index + 1];
-
 
82
    }
-
 
83
   
-
 
84
    return new Array();
66
}
85
}
67
 
86
 
68
function help_complete(args)
87
function help_complete(args)
69
{
88
{
70
    var result = new Array();
89
    var result = new Array();