mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 07:50:11 +01:00
refactored echo in util/gmail-imap-import.php
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
9c52194849
commit
10bd6a17ce
@ -20,7 +20,7 @@ if($options = getopt($opts, $lopts)) {
|
|||||||
$webuidir = $options['webui'];
|
$webuidir = $options['webui'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo("\nError: must provide path to WebUI directory\n\n");
|
echo "\nError: must provide path to WebUI directory\n\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,13 +117,10 @@ function poll_imap_accounts($email = '') {
|
|||||||
|
|
||||||
function display_help() {
|
function display_help() {
|
||||||
$phpself = basename(__FILE__);
|
$phpself = basename(__FILE__);
|
||||||
echo("\nUsage: $phpself --webui [PATH] [OPTIONS...]\n\n");
|
echo "\nUsage: $phpself --webui [PATH] [OPTIONS...]\n\n";
|
||||||
echo("\t--webui=\"[REQUIRED: path to the Piler WebUI Directory]\"\n\n");
|
echo "\t--webui=\"[REQUIRED: path to the Piler WebUI Directory]\"\n\n";
|
||||||
echo("options:\n");
|
echo "options:\n";
|
||||||
echo("\t--email: Email address to poll. Leave it empty to poll all email addresses\n");
|
echo "\t--email: Email address to poll. Leave it empty to poll all email addresses\n";
|
||||||
echo("\t-d: Daemonize the imap polling\n");
|
echo "\t-d: Daemonize the imap polling\n";
|
||||||
echo("\t-h: Prints this help screen and exits\n");
|
echo "\t-h: Prints this help screen and exits\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user