aboutsummaryrefslogtreecommitdiff
path: root/todo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'todo.cpp')
-rwxr-xr-xtodo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/todo.cpp b/todo.cpp
index 7cb8c93..4c9888a 100755
--- a/todo.cpp
+++ b/todo.cpp
@@ -160,12 +160,12 @@ int main(int argc, char *argv[]) {
action = 10;
}else if ( !strcmp( argv[1], "miss") ) {
action = 11;
- }else if ( !strcmp( argv[1], "set") ) {
+ }else if ( !strcmp( argv[1], "set") || !(strcmp(argv[1], "s")) ) {
if( argc > 2 && argv[2][0] >= '0' && argv[2][0] <= '9' )
action = 4;
else
cout << "Erreur : Priorité non interprétable" << endl;
- }else if ( !strcmp( argv[1], "s") ) {
+ }else if ( !strcmp( argv[1], "get") ) {
if( argc > 2 && argv[2][0] >= '0' && argv[2][0] <= '9' )
action = 5,color = false;
else