From 8b4d2329c71377fcab7d73bc0656094557c720a9 Mon Sep 17 00:00:00 2001 From: "Андрей Стоцкий (_RuRo_)" Date: Mon, 28 Aug 2017 20:24:56 +0300 Subject: 41618: Added some arguments autocompletion to _todo.sh. --- ChangeLog | 5 +++++ Completion/Unix/Command/_todo.sh | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 94c8a8f0d..39042f8e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-08-29 Андрей Стоцкий (_RuRo_) + + * 41618: Completion/Unix/Command/_todo.sh: Added some arguments + autocompletion to _todo.sh. + 2017-08-29 Oliver Kiddle * 41617: Completion/Linux/Command/_tracepath: complete new options diff --git a/Completion/Unix/Command/_todo.sh b/Completion/Unix/Command/_todo.sh index eb0be55e5..287c9ff78 100644 --- a/Completion/Unix/Command/_todo.sh +++ b/Completion/Unix/Command/_todo.sh @@ -17,12 +17,24 @@ local -a cmdlist itemlist match mbegin mend integer NORMARG _arguments -s -n : \ + '-@[hide context names]' \ + '-\+[hide project names]' \ + '-c[color mode]' \ '-d[alternate config file]:config file:_files' \ '-f[force, no confirmation]' \ '-h[display help]' \ '-p[plain mode, no colours]' \ + '-P[hide priority labels]' \ + "-a[don't auto-archive tasks when done]" \ + '-A[auto-archive tasks when done]' \ + '-n[automatically remove blank lines]' \ + '-N[preserve line numbers]' \ + '-t[add current date to task on creation]' \ + "-T[don't add current date to task]" \ '-v[verbose mode, confirmation messages]' \ + '-vv[extra verbose (debug)]' \ '-V[display version etc.]' \ + '-x[disable final filter]' \ '1:command:->commands' \ '*:arguments:->arguments' && return 0 -- cgit 1.4.1