tweak list
This commit is contained in:
parent
ac4311d542
commit
3cd40f51d1
|
@ -44,7 +44,7 @@ func (la ListArgs) Parse(main []string, fields map[string]string) (Command, erro
|
||||||
|
|
||||||
switch len(main) {
|
switch len(main) {
|
||||||
case 0:
|
case 0:
|
||||||
fields["to"] = today.String()
|
// fields["to"] = today.String()
|
||||||
case 1:
|
case 1:
|
||||||
switch {
|
switch {
|
||||||
case slices.Contains([]string{"tod", "today"}, main[0]):
|
case slices.Contains([]string{"tod", "today"}, main[0]):
|
||||||
|
|
Loading…
Reference in New Issue