Skip to content

Commit

Permalink
fixing --version
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Mar 5, 2024
1 parent b199cf1 commit 76c0303
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.3
0.0.4
5 changes: 4 additions & 1 deletion see.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
:- use_module(library(pcre)).
:- catch(use_module(library(http/http_open)), _, true).

version_info('SEE v0.0.3 (2024-03-05)').
version_info('SEE v0.0.4 (2024-03-05)').

help_info('Usage: see <options>* <data>*
see
Expand Down Expand Up @@ -385,6 +385,9 @@
opts(Argus, Args).
opts(['--version'|_], _) :-
!,
version_info(Version),
format(user_error, '~w~n', [Version]),
flush_output(user_error),
throw(halt(0)).
opts(['--wcache', Argument, File|Argus], Args) :-
!,
Expand Down

0 comments on commit 76c0303

Please sign in to comment.