Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
d1d86b0f
Commit
d1d86b0f
authored
May 02, 2015
by
Jacek Sowiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update synopsis and help message of `topydo edit`
parent
c91d56bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
topydo/lib/EditCommand.py
topydo/lib/EditCommand.py
+15
-2
No files found.
topydo/lib/EditCommand.py
View file @
d1d86b0f
...
...
@@ -133,11 +133,24 @@ class EditCommand(MultiCommand, ListCommand):
'Check your $EDITOR and/or $PATH'
)
def
usage
(
self
):
return
"""Synopsis: edit"""
return
"""Synopsis:
edit
edit <NUMBER1> [<NUMBER2> ...]
edit -e [-x] [expression]"""
def
help
(
self
):
return
"""Launches a text editor with the todo.txt file.
return
"""
\
Launches a text editor to edit todos.
Without any arguments it will just open todo.txt file. Alternatively it can
edit todo item(s) with the given number(s) or edit relevant todos matching
given expression. Definition of relevant todo is given in the help message
of `ls` command.
By default it will use $EDITOR in your environment, otherwise it will fall back
to 'vi'.
-e : Treat the subsequent arguments as an expression.
-x : Edit *all* todos matching the expression (i.e. do not filter on
dependencies or relevance).
"""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment