aboutsummaryrefslogtreecommitdiff
path: root/todo.cpp
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-08-27 02:23:55 +0200
committerache <ache@ache.one>2017-08-27 02:25:53 +0200
commit364bb9ad3f41ccbba1ca4d1fe18ff64e3ded17d2 (patch)
treed491b196cd054c0994a15aba6e47f8272ccab569 /todo.cpp
parentTodo rename alias (diff)
Todo rename alias 's'
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