]> git.tuebingen.mpg.de Git - osl.git/blobdiff - fsck.ggo
Rename base_dir to database-dir and check in fsck.ggo.
[osl.git] / fsck.ggo
diff --git a/fsck.ggo b/fsck.ggo
new file mode 100644 (file)
index 0000000..e863f04
--- /dev/null
+++ b/fsck.ggo
@@ -0,0 +1,49 @@
+option "loglevel" l
+#~~~~~~~~~~~~~~~~~~
+
+"set loglevel (0-6)"
+
+       int typestr="level"
+       default="3"
+       optional
+
+option "database-dir" d
+#~~~~~~~~~~~~~~~~~~~~~~
+"Full path to the database directory"
+string typestr="path"
+required
+details="
+       Unless non-option arguments are given, all subdirectories
+       of \"path\" are considered osl tables which oslfsck will try
+       to fix.
+"
+
+option "dump_dir" D
+#~~~~~~~~~~~~~~~~~~
+"If path is non-empty, para_fsck will write a
+dump of all given tables to the specified
+path."
+
+       string typestr="path"
+       optional
+       default=""
+
+option "no_fsck" n
+#~~~~~~~~~~~~~~~~~
+"Disable fsck mode."
+
+       flag off
+
+option "force" f
+#~~~~~~~~~~~~~~~
+"Force fsck even if the table is dirty.
+Ignored if -n is given."
+
+       flag off
+
+option "dry_run" -
+#~~~~~~~~~~~~~~~~~
+"Only report problems, don't try to fix them."
+
+       flag off
+