END_OF_SETTAG_HELP;
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
if (count($args) < 1) {
show_help();
}
} else {
print "Already set.\n";
- exit(-1);
+ exit(0);
}
} else {
if (have_option('d', 'delete')) { // Delete
print "No such tag.\n";
- exit(-1);
+ exit(0);
} else {
$tags[] = $tag;
$result = $sn->setTags($tags);