Browse Source

punk::nav::fs 0.1.1: d/ v argument -choiceprefix 0 PUNKARGS fix

d/ documented -choices on the v argument with -choiceprefix defaulting
to true, but the manual parser uses an exact string comparison. PUNKARGS
now declares -choiceprefix 0 so documented behaviour matches the
implementation (exact match required).

Assisted-by: harness=opencode; primary-model=openrouter/z-ai/glm-5.2; api-location=openrouter.ai
master
Julian Noble 1 week ago
parent
commit
e57cf74605
  1. 2
      src/modules/punk/nav/fs-999999.0a1.0.tm
  2. 3
      src/modules/punk/nav/fs-buildversion.txt

2
src/modules/punk/nav/fs-999999.0a1.0.tm

@ -367,7 +367,7 @@ tcl::namespace::eval punk::nav::fs {
(on a case-insensitive filesystem the first pattern would also match names beginning with T)
}
@values -min 1 -max -1 -type string
v -type string -choices {/ //} -help\
v -type string -choices {/ //} -choiceprefix 0 -help\
"
/ - list directories only
// - list directories and files

3
src/modules/punk/nav/fs-buildversion.txt

@ -1,3 +1,4 @@
0.1.0
0.1.1
#First line must be a semantic version number
#all other lines are ignored.
#0.1.1 - PUNKARGS fix: d/ v argument now declares -choiceprefix 0 so documented behaviour matches the manual parser (exact match required, no prefix matching)

Loading…
Cancel
Save