Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
dc7ead60
...
dc7ead60fcb1d7b15424c2a4b4a52af65bf85be5
authored
2004-01-03 14:11:12 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(sieve-version): New function. Supports the required --version option.
1 parent
21311fdb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
guimb/scm/sieve.scm.in
guimb/scm/sieve.scm.in
View file @
dc7ead6
...
...
@@ -929,12 +929,18 @@
(
display
" -o, --output FILENAME Set output file name\n"
)
(
display
" -L, --lib-dir DIRNAME Set sieve library directory name\n"
)
(
display
" -g, --guimb Make output file executable for guimb\n"
)
(
display
" -d, --debug LEVEL Set debugging level\n\n"
)
(
display
" -d, --debug LEVEL Set debugging level\n"
)
(
display
" --version Show program version\n\n"
)
(
display
"If -o option is not given, the compiled program is executed\n"
)
(
display
"immediately. It operates on the user system mailbox unless\n"
)
(
display
"mailbox is given in the command line.\n"
)
(
exit
0
))
(
define
(
sieve-version
)
(
display
"sieve.scm (GNU %PACKAGE% %VERSION%)"
)
(
newline
)
(
exit
0
))
;;; Parse command line
(
use-modules
(
ice-9
getopt-long
))
...
...
@@ -948,6 +954,7 @@
(
lib-dir
(
single-char
#\L
)
(
value
#t
))
(
guimb
(
single-char
#\g
))
(
version
)
(
help
(
single-char
#\h
))))
(
define
program-name
(
car
(
command-line
)))
...
...
@@ -967,6 +974,8 @@
(
set!
output
(
cdr
x
)))
((
guimb
)
(
set!
guimb-header
#t
))
((
version
)
(
sieve-version
))
((
help
)
(
sieve-usage
))
(
'
()
...
...
Please
register
or
sign in
to post a comment