Skip to content

Commit ee7d001

Browse files
committed
feat(cli)!: add version short option -V
v0.8.1
1 parent 4c2c8bb commit ee7d001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tinyfts-dev.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env tclsh
22
# tinyfts: a very small standalone full-text search HTTP server.
33
# ==============================================================================
4-
# Copyright (c) 2019-2022, 2024 D. Bohdan
4+
# Copyright (c) 2019-2022, 2024-2025 D. Bohdan
55
# and contributors listed in AUTHORS
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -54,7 +54,7 @@ set state [dict merge {
5454
}
5555

5656
rate {}
57-
version 0.8.0
57+
version 0.8.1
5858
} $state]
5959

6060
set config {
@@ -701,7 +701,7 @@ proc cli::usage me {
701701

702702

703703
proc cli::start {argv0 argv} {
704-
if {$argv in {-v -version --version}} {
704+
if {$argv in {-V -v -version --version}} {
705705
puts stderr [state::get version]
706706
exit 0
707707
}

0 commit comments

Comments
 (0)