Change how time entries based on PIT issues are logged when using --ptk.
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
# Package
 | 
			
		||||
 | 
			
		||||
version       = "4.24.0"
 | 
			
		||||
version       = "4.24.1"
 | 
			
		||||
author        = "Jonathan Bernard"
 | 
			
		||||
description   = "Personal issue tracker."
 | 
			
		||||
license       = "MIT"
 | 
			
		||||
 
 | 
			
		||||
@@ -463,7 +463,7 @@ when isMainModule:
 | 
			
		||||
          )
 | 
			
		||||
          cmd &= " -g \"" & tags.join(",") & "\""
 | 
			
		||||
        cmd &= " -n \"pit-id: " & $issue.id & "\""
 | 
			
		||||
        cmd &= " \"" & issue.summary & "\""
 | 
			
		||||
        cmd &= " \"[" & ($issue.id)[0..<6] & "] " & issue.summary & "\""
 | 
			
		||||
        discard execShellCmd(cmd)
 | 
			
		||||
      elif targetState == Done or targetState == Pending:
 | 
			
		||||
        discard execShellCmd("ptk stop")
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
const PIT_VERSION* = "4.24.0"
 | 
			
		||||
const PIT_VERSION* = "4.24.1"
 | 
			
		||||
 | 
			
		||||
const USAGE* = """Usage:
 | 
			
		||||
  pit ( new | add) <summary> [<state>] [options]
 | 
			
		||||
@@ -185,4 +185,4 @@ Issue Properties:
 | 
			
		||||
 | 
			
		||||
      If present, expected to be a comma-delimited list of text tags. The -g
 | 
			
		||||
      option is a short-hand for '-p tags:<tags-value>'.
 | 
			
		||||
"""
 | 
			
		||||
"""
 | 
			
		||||
		Reference in New Issue
	
	Block a user