aboutsummaryrefslogtreecommitdiff
path: root/scheme/idest/batch/help.scm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-25 16:21:55 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-07-25 16:21:55 +0300
commit39e1ad85f7fb63156621112a28a876265d9fa1f0 (patch)
tree3607cb92f570680bb6c2016018e373834edd8b3d /scheme/idest/batch/help.scm
parentc6230a46e93e9fb1525d5a036074aa7b5ff8a76e (diff)
downloadidest-39e1ad85f7fb63156621112a28a876265d9fa1f0.tar.gz
idest-39e1ad85f7fb63156621112a28a876265d9fa1f0.tar.bz2
Implement --batch option (a generalization of --format).
* NEWS: Update * doc/idest.texi: Update. * scheme/Makefile.am (EXTRA_DIST,site_DATA): Add batch.scm (dist-hook): Exclude backup files. * scheme/batch.scm: New file. * scheme/idest/batch/help.scm: New file. * scheme/idest/format/help.scm: Use list-modules. * scheme/idest/format/shortlist.scm: Fix typo. * scheme/idest/list-modules.scm: New file (from scheme/idest/format/help.scm). * src/cmdline.opt: Remove the --function option. New option --batch. * src/guile.c (guile_function,guile_script): Remove. (load_closure): Remove struct. (load_handler,load_handler_path): data points to char **. (guile_load): Change signature: filename is superfluous, use argv[0] instead. All callers updated. * src/idest.h (ed_list,guile_script,guile_function): Remove. * src/main.c (dry_run_option,batch_name): New variables. (set_guile_argv): New function. (main): Handle batch_name and dry_run_option.
Diffstat (limited to 'scheme/idest/batch/help.scm')
-rw-r--r--scheme/idest/batch/help.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/scheme/idest/batch/help.scm b/scheme/idest/batch/help.scm
new file mode 100644
index 0000000..48891ce
--- /dev/null
+++ b/scheme/idest/batch/help.scm
@@ -0,0 +1,25 @@
+;; This file is part of Idest
+;; Copyright (C) 2011 Sergey Poznyakoff
+;;
+;; Idest is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+;;
+;; Idest is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with Idest. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (idest batch help))
+
+(use-modules (idest list-modules))
+
+(idest-list-modules 'batch)
+(exit 0)
+
+
+

Return to:

Send suggestions and report system problems to the System administrator.