aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2016-07-02 05:11:23 +0200
committerache <ache@ache.one>2016-07-02 05:11:23 +0200
commitb589a3f238bc30c8a98fbd19f4cd1190288cbdd9 (patch)
tree9c041654d40213b115a87c2ab7497cd78a8dfa73
parentmrpropest clear test file too (diff)
Ajout de l'option rm
-rw-r--r--todo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/todo.cpp b/todo.cpp
index 93afa39..5addf63 100644
--- a/todo.cpp
+++ b/todo.cpp
@@ -68,6 +68,8 @@ int main(int argc, char *argv[]) {
action = 1;
}else if ( !strcmp( argv[1], "remove") ) {
action = 2;
+ }else if ( !strcmp( argv[1], "rm") ) {
+ action = 2;
}else if ( !strcmp( argv[1], "check") ) {
action = 3;
}else if ( !strcmp( argv[1], "set") ) {