summaryrefslogtreecommitdiff
path: root/Omni
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-20 13:35:54 -0500
committerBen Sima <ben@bsima.me>2025-11-20 13:35:54 -0500
commit0a0ea5a3fec6eae0a4b300918a9a8fc06fcc786f (patch)
treee0c7e85f78a893658de345d50f726355bcb57920 /Omni
parent270a8762d8d43fc7bc111c52b66cbc7235ab56cb (diff)
Fix docopt flag ordering issue by using [options]
- Changed 'task list' usage from explicit flags to [options] - Allows flags to be specified in any order (fixes t-10KNtTF) - All combinations now work: --namespace --status, --status --namespace, etc. - Updated AGENTS.md examples to use correct status argument format - All tests passing (28/28)
Diffstat (limited to 'Omni')
-rw-r--r--Omni/Task.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Omni/Task.hs b/Omni/Task.hs
index 656c972..eeca4c6 100644
--- a/Omni/Task.hs
+++ b/Omni/Task.hs
@@ -39,7 +39,7 @@ task
Usage:
task init [--quiet]
task create <title> [--type=<type>] [--parent=<id>] [--priority=<p>] [--deps=<ids>] [--dep-type=<type>] [--discovered-from=<id>] [--namespace=<ns>] [--json]
- task list [--type=<type>] [--parent=<id>] [--status=<status>] [--namespace=<ns>] [--json]
+ task list [options]
task ready [--json]
task show <id> [--json]
task update <id> <status> [--json]