M stask.1 => stask.1 +4 -2
@@ 22,7 22,7 @@ stask \- simple task manager with markdown documents
.B stask
.I list
.B add
-.I text
+.I \(dqtext\(dq
.br
.B stask
.I list
@@ 99,11 99,13 @@ Show all tasks in
displaying their done status, ID, title, and date.
.SS Task Operations
.TP
-.IB list " add " text
+.IB list " add " \(dqtext\(dq
Add a new task to
.I list
with the given
.IR text .
+The text must be quoted if it contains spaces (e.g.,
+.BR """On the Modern Professor""" ).
Creates a markdown document with YAML frontmatter at
.IR ~/.local/share/stask/docs/<list>/<id>.md .
Prints the assigned task ID.
M stask.c => stask.c +1 -1
@@ 17,7 17,7 @@ usage(void)
" stask new <list>\n"
" stask rm <list>\n"
" stask <list>\n"
- " stask <list> add <text>\n"
+ " stask <list> add \"<text>\"\n"
" stask <list> done <id>\n"
" stask <list> undo <id>\n"
" stask <list> del <id>\n"