+ backward-compatibility

This commit is contained in:
kelson42 2012-06-06 14:21:55 +00:00
parent 0e7d87c2c8
commit 53e174aff2

View File

@ -83,7 +83,7 @@ int main(int argc, char **argv) {
if (optind < argc) {
if (action == NONE) {
string actionString = argv[optind++];
if (actionString == "addcontent") {
if (actionString == "addcontent" || actionString == "ADDCONTENT") {
action = ADDCONTENT;
}
} else if (contentPath == NULL) {