about summary refs log tree commit diff stats
path: root/pkgs/by-name/ts/tskm/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-11 13:02:48 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-11 13:02:48 +0200
commita083d837766f28ddee6d61046f3a100570066afa (patch)
tree9bd42d608de2867f4932cc20eda08d588af1feac /pkgs/by-name/ts/tskm/src/cli.rs
parentpkgs/tskm: Port to qutebrowser (diff)
downloadnixos-config-a083d837766f28ddee6d61046f3a100570066afa.zip
pkgs/tskm/neorg/task: Correctly call the id argument “task”
Diffstat (limited to 'pkgs/by-name/ts/tskm/src/cli.rs')
-rw-r--r--pkgs/by-name/ts/tskm/src/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ts/tskm/src/cli.rs b/pkgs/by-name/ts/tskm/src/cli.rs
index 262fdd60..9175cd3d 100644
--- a/pkgs/by-name/ts/tskm/src/cli.rs
+++ b/pkgs/by-name/ts/tskm/src/cli.rs
@@ -94,8 +94,8 @@ pub enum NeorgCommand {
     /// Open the `neorg` project associated with id of the task.
     Task {
         /// The working set id of the task
-        #[arg(value_parser = task_from_working_set_id, add = ArgValueCompleter::new(complete_task_id))]
-        id: task::Task,
+        #[arg(value_name = "ID", value_parser = task_from_working_set_id, add = ArgValueCompleter::new(complete_task_id))]
+        task: task::Task,
     },
 }