changeset 620:47b15186373f

tj: Clarify some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 10 Feb 2021 15:25:31 +0200
parents cccf72482667
children a1efc28ef5a4
files tj.tcl
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tj.tcl	Wed Feb 10 15:02:57 2021 +0200
+++ b/tj.tcl	Wed Feb 10 15:25:31 2021 +0200
@@ -217,7 +217,7 @@
     }
     return 1
   } elseif {[tj_cmd_match "set" $rcmd]} {
-    # !tj set [#id] <[-/+]days [[+/-]<hours>] | dd.mm.yyyy [hh:mm]> [<desc>]
+    # !tj set [#<id>] <[-/+]days [[+/-]<hours>] | dd.mm.yyyy [hh:mm]> [<desc>]
     if {![utl_arg_get $rarglist rindex rarg 0]} {
       tj_msg $upublic $unick $uchan "help_set"
       return 1
@@ -370,8 +370,8 @@
     }
 
   } elseif {[tj_cmd_match "remind" $rcmd]} {
-    # !tj remind <#id> <<dd.mm.yyyy [hh:mm]>|<message>>
-    # !tj remind <#id> <<dd.mm [hh:mm]>|<message>>
+    # !tj remind #<id> <<dd.mm.yyyy [hh:mm]>|<message>>
+    # !tj remind #<id> <<dd.mm [hh:mm]>|<message>>
     if {[llength $rarglist] < 3} {
       tj_msg $upublic $unick $uchan "help_add"
       return 1
@@ -424,7 +424,7 @@
 
     tj_msg $upublic $unick $uchan "items_deleted" [list $uid $nitems]
   } elseif {[tj_cmd_match "show" $rcmd]} {
-    # !tj show [#id] <name>
+    # !tj show [#<id>] <name>
     # Check for #id prefix
     if {[utl_arg_get $rarglist rindex rarg 0]} {
       tj_get_id $rarg rindex uid
@@ -443,7 +443,7 @@
 
     tj_display_tjs $upublic $unick $uchan $uname $uid
   } else {
-    # !tj [#id] [name]
+    # !tj [#<id>] [name]
     set uname $uhand
     set rindex 0
     if {[utl_arg_get $rarglist rindex rarg 0]} {