Change how time entries based on PIT issues are logged when using --ptk.
This commit is contained in:
parent
ddad90ddef
commit
8cf0bf5d98
@ -1,6 +1,6 @@
|
|||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "4.24.0"
|
version = "4.24.1"
|
||||||
author = "Jonathan Bernard"
|
author = "Jonathan Bernard"
|
||||||
description = "Personal issue tracker."
|
description = "Personal issue tracker."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -463,7 +463,7 @@ when isMainModule:
|
|||||||
)
|
)
|
||||||
cmd &= " -g \"" & tags.join(",") & "\""
|
cmd &= " -g \"" & tags.join(",") & "\""
|
||||||
cmd &= " -n \"pit-id: " & $issue.id & "\""
|
cmd &= " -n \"pit-id: " & $issue.id & "\""
|
||||||
cmd &= " \"" & issue.summary & "\""
|
cmd &= " \"[" & ($issue.id)[0..<6] & "] " & issue.summary & "\""
|
||||||
discard execShellCmd(cmd)
|
discard execShellCmd(cmd)
|
||||||
elif targetState == Done or targetState == Pending:
|
elif targetState == Done or targetState == Pending:
|
||||||
discard execShellCmd("ptk stop")
|
discard execShellCmd("ptk stop")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
const PIT_VERSION* = "4.24.0"
|
const PIT_VERSION* = "4.24.1"
|
||||||
|
|
||||||
const USAGE* = """Usage:
|
const USAGE* = """Usage:
|
||||||
pit ( new | add) <summary> [<state>] [options]
|
pit ( new | add) <summary> [<state>] [options]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user