forked from GNUsocial/gnu-social
reindent importbookmarks.php
This commit is contained in:
parent
6a6dd81d1f
commit
d8de285d4e
@ -23,13 +23,12 @@ $shortoptions = 'i:n:f:';
|
|||||||
$longoptions = array('id=', 'nickname=', 'file=');
|
$longoptions = array('id=', 'nickname=', 'file=');
|
||||||
|
|
||||||
$helptext = <<<END_OF_IMPORTBOOKMARKS_HELP
|
$helptext = <<<END_OF_IMPORTBOOKMARKS_HELP
|
||||||
importbookmarks.php [options]
|
importbookmarks.php [options]
|
||||||
Restore a backed-up Delicious.com bookmark file
|
Restore a backed-up Delicious.com bookmark file
|
||||||
|
|
||||||
-i --id ID of user to import bookmarks for
|
|
||||||
-n --nickname nickname of the user to import for
|
|
||||||
-f --file file to read from (STDIN by default)
|
|
||||||
|
|
||||||
|
-i --id ID of user to import bookmarks for
|
||||||
|
-n --nickname nickname of the user to import for
|
||||||
|
-f --file file to read from (STDIN by default)
|
||||||
END_OF_IMPORTBOOKMARKS_HELP;
|
END_OF_IMPORTBOOKMARKS_HELP;
|
||||||
|
|
||||||
require_once INSTALLDIR.'/scripts/commandline.inc';
|
require_once INSTALLDIR.'/scripts/commandline.inc';
|
||||||
@ -63,7 +62,6 @@ function getBookmarksFile()
|
|||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$dbi = new DeliciousBackupImporter();
|
$dbi = new DeliciousBackupImporter();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user