git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for articles (with HTML)
[shpub.git]
/
src
/
shpub
/
Cli.php
diff --git
a/src/shpub/Cli.php
b/src/shpub/Cli.php
index 12eeaedecfdfb1c63b4e8caebee5ae492314de2d..eedbb10e37d916f4c68891bec497a4a3f4fddb29 100644
(file)
--- a/
src/shpub/Cli.php
+++ b/
src/shpub/Cli.php
@@
-41,7
+41,7
@@
class Cli
break;
}
} catch (\Exception $e) {
break;
}
} catch (\Exception $e) {
-
echo 'Error: ' . $e->getMessage() . "\n"
;
+
Log::err('Error: ' . $e->getMessage())
;
exit(1);
}
}
exit(1);
}
}
@@
-160,9
+160,11
@@
class Cli
)
);
)
);
+ Command_Article::opts($optParser);
Command_Note::opts($optParser);
Command_Reply::opts($optParser);
Command_Like::opts($optParser);
Command_Note::opts($optParser);
Command_Reply::opts($optParser);
Command_Like::opts($optParser);
+ Command_Repost::opts($optParser);
return $optParser;
}
return $optParser;
}