mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
gui journal fix
This commit is contained in:
@ -27,6 +27,10 @@ if($options = getopt($opts, $lopts)) {
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
display_help();
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -100,4 +104,15 @@ function poll_imap_accounts() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
function display_help() {
|
||||
$phpself = basename(__FILE__);
|
||||
echo("\nUsage: $phpself --webui [PATH] [OPTIONS...]\n\n");
|
||||
echo("\t--webui=\"[REQUIRED: path to the Piler WebUI Directory]\"\n\n");
|
||||
echo("options:\n");
|
||||
echo("\t-d Daemonize the imap polling\n");
|
||||
echo("\t-h Prints this help screen and exits\n");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user