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
ca1d7c43
Commit
ca1d7c43
authored
Dec 06, 2016
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -g to the ls help
parent
eac37bab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
topydo/commands/ListCommand.py
topydo/commands/ListCommand.py
+8
-5
No files found.
topydo/commands/ListCommand.py
View file @
ca1d7c43
...
...
@@ -204,9 +204,9 @@ class ListCommand(ExpressionCommand):
return True
def usage(self):
return """Synopsis: ls [-x] [-s <SORT EXPRESSION>]
[-f <OUTPUT FORMAT>]
[-
F <FORMAT STRING>] [-i <NUMBER 1>[,<NUMBER 2> ...]] [-N | -n <INTEGER
>]
[EXPRESSION]"""
return """Synopsis: ls [-x] [-s <SORT EXPRESSION>]
[-
g <GROUP EXPRESSION>] [-f <OUTPUT FORMAT>] [-F <FORMAT STRING
>]
[
-i <NUMBER 1>[,<NUMBER 2> ...]] [-N | -n <INTEGER>] [
EXPRESSION]"""
def help(self):
return """
\
...
...
@@ -261,11 +261,14 @@ When an EXPRESSION is given, only the todos matching that EXPRESSION are shown.
(empty string) when an item has no priority set.
A tab character serves as a marker to start right alignment.
-g : Group items according to a GROUP EXPRESSION. A group expression is similar
to a sort expression. Defaults to the group expression in the
configuration.
-i : Comma separated list of todo IDs to print.
-n : Number of items to display. Defaults to the value in the configuration.
-N : Limit number of items displayed such that they fit on the terminal.
-s : Sort the list according to a SORT EXPRESSION. Defaults to the
expression
in the configuration.
-s : Sort the list according to a SORT EXPRESSION. Defaults to the
sort
expression
in the configuration.
-x : Show all todos (i.e. do not filter on dependencies, relevance, or hidden
status).
\
"""
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