Subversion Repositories havirt

Rev

Rev 26 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26 Rev 42
Line 15... Line 15...
15
 
15
 
16
Command line flags are processed first, and any additional parameters are
16
Command line flags are processed first, and any additional parameters are
17
passed on the stack to the called function.
17
passed on the stack to the called function.
18
 
18
 
19
The function does something, then returns a string which is displayed on the 
19
The function does something, then returns a string which is displayed on the 
20
screen (unless the --quiet flag was passed).
20
screen (unless the --quiet flag was passed and --dryrun is not set).
21
 
21
 
22
So, for example. 
22
So, for example. 
23
    havirt domain list
23
    havirt domain list
24
loads domain.pm, and executes the list function inside, displaying whatever
24
loads domain.pm, and executes the list function inside, displaying whatever
25
is returned by sub list.
25
is returned by sub list.